Added a new 'memwithbuffersperc' variable#2314
Open
mfluhr wants to merge 1 commit intobrndnmtthws:mainfrom
Open
Added a new 'memwithbuffersperc' variable#2314mfluhr wants to merge 1 commit intobrndnmtthws:mainfrom
mfluhr wants to merge 1 commit intobrndnmtthws:mainfrom
Conversation
…m in use, including buffers and caches
✅ Deploy Preview for conkyweb ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
ETFM6T
approved these changes
Feb 8, 2026
Collaborator
|
I think it would be better if this was an optional argument for mem and memperc instead of a new variable. You only need to check "-b" in args, so it should be straightforward, and there are plenty of examples ranging from simple to advanced. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Added a new 'memwithbuffersperc' variable to get the percentage of memory in use, including memory used by system buffers and caches.
As an Android OS developer, I am rebuilding the AOSP daily, and the build process is heavily multi-threaded, consuming almost all my RAM. Since I want to avoid the oomd killer kicking in, I am closely monitoring RAM usage, not only using
memandmemperc, but alsomemwithbuffers.Since there is no
memwithbufferspercvariable available, I tought this might be a great addition both for completeness and statistics purposes.The code should not affect existing conky configurations, since it is a new variable addition.
It has been tested locally using the following configuration