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

Errors in reported memory #259

Closed
dormant opened this issue Aug 11, 2022 · 1 comment
Closed

Errors in reported memory #259

dormant opened this issue Aug 11, 2022 · 1 comment

Comments

@dormant
Copy link

dormant commented Aug 11, 2022

I have just started using sysstat/sar/ksar, so might be doing something stupid. But my plots of memory usage are nothing like reality.

This is what sar reports:

$ sar -r -f /var/log/sysstat/sa10
Linux 5.18.0-2-amd64 (opsproc3) 10/08/22 x86_64 (12 CPU)

00:00:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty
00:10:01 2751536 20160848 11453448 35.25 1807816 13886772 17495276 52.24 5863556 20914168 5264
00:20:01 2722236 20133256 11479196 35.33 1810128 13886860 17628556 52.64 5866120 20957396 4776
00:30:01 2725008 20157920 11456356 35.26 1812612 13905736 17495656 52.24 5869744 20953420 3980

And this is from ksar:

Screenshot_2022-08-11_09-10-42

@PeterPitterling
Copy link
Contributor

ksar 5.0.6 is ancient. This is a fork from an even later version 5.1.beta-* and further developed in the past years.
We don't give support for this old version. I would strongly recommend to use a newer build https://github.com/vlsi/ksar/releases/tag/v5.2.4-snapshot.10-gf068072 or even better take the last source and build yourself.

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

3 participants