-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
find proccess with largest rss (#300)
* show the cmdline of the process which was sent SIGKILL or SIGTERMIGTERM * add cmdline to struct procinfo * add test code * add 'get-cmdline' to args * add env EARLYOOM_CMDLINE in notify_ext() * delete the flag -get-cmdline; fix some log message * delete get_cmdline from struct poll_loop_args_t * add env EARLYOOM_CMDLINE to MANPAGE.md * add get_cmdline to the end of function is_larger * add build.sh * static build with version * To get the latest tag using git command * add flag '--sort-by-rss': find process with the largest rss (default oom_score) * reset Makefile and delete build.sh * delete ignore-root-user from MANPAGE.md * delete duplicate code * make --avoid / --prefer work with --sort-by-rss * add VMRSS_PREFER and VMRSS_AVOID to support prefer_regex and avoid_regex
- Loading branch information
Showing
5 changed files
with
57 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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