Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong data? #3

Open
crystalbit opened this issue Dec 21, 2019 · 0 comments
Open

wrong data? #3

crystalbit opened this issue Dec 21, 2019 · 0 comments

Comments

@crystalbit
Copy link

Hello

by free((err, info) => console.log(info)) I get

{ mem:
 { total: 2090212,
 used: 882528,
 free: 810120,
 shared: 408,
 buffers: 397564,
 cached: 1096208,
 usable: 2303892 },
swap: { total: 0, used: 0, free: 0 },
cache: { used: -213680, free: 2303892 },
buffer: { used: -213680, free: 2303892 } }

while

free -m
              total        used        free      shared  buff/cache   available
Mem:           2041         832         820           0         388        1099
Swap:             0           0           0

Something is wrong: usable memory is over total; used cache and buffer are negative

server Linux s8208a9fc.fastvps-server.com 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20) x86_64 GNU/Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant