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

It's not support memory info from 'free of procps-ng' #1

Open
yuzhigang33 opened this issue May 23, 2017 · 0 comments
Open

It's not support memory info from 'free of procps-ng' #1

yuzhigang33 opened this issue May 23, 2017 · 0 comments

Comments

@yuzhigang33
Copy link

Hi, @timjrobinson
The current code is assuming free command in linux is from procps, but in some linux the free command is from procps-ng, and the two command's output are not the same. see bellow:

procps-ng 's output:

              total        used        free      shared  buff/cache   available
Mem:          96359        6734       11380           4       78244       89198
Swap:          2047         155        1892

procps 's output:

             total       used       free     shared    buffers     cached
Mem:         96359      84976      11382          0       4293      68691
-/+ buffers/cache:      11991      84367
Swap:         2047        155       1892

So could you update it to support the two scenes ?

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