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

Improve memory stats #85

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Improve memory stats #85

wants to merge 1 commit into from

Conversation

haarp
Copy link

@haarp haarp commented Aug 5, 2024

Add Shared to memory graph
change memory calculation to mirror htop's (don't count shared as cached)

-> "Count Slab cache" option will become useless!

References:

https://stackoverflow.com/a/41251290
https://github.com/htop-dev/htop/blob/3.3.0/linux/LinuxMachine.c#L199-L218

Add `Shared` to memory graph
change memory calculation to mirror htop's (don't count shared as cached)
("Count Slab cache" option will become useless!)

Signed-off-by: haarp <main.haarp@gmail.com>
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

Successfully merging this pull request may close these issues.

1 participant