-
Notifications
You must be signed in to change notification settings - Fork 25
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
Include cached memory into usable memory calculation #10
Conversation
The memory calculation should also count cached memory into unused memory, because cached memory will be freed when applications require it.
Hey, thanks for your contribution.
|
Yes, that makes totally sense. Since I don't use historical data yet, I didn't thought on that use case. |
Please take a look at my update, check it at your environment and provide feedback. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes work without any problem.
Keep in mind that if #9 gets merged you need to update your check command ;) |
@all-contributors please add @KreativeKrise for code |
I've put up a pull request to add @KreativeKrise! 🎉 |
The memory calculation should also count cached memory into unused memory, because cached memory will be freed when applications require it.