summaryrefslogtreecommitdiffstats
path: root/sys-utils/choom.c
Commit message (Collapse)AuthorAgeFilesLines
* choom: improve docsKarel Zak2019-08-011-1/+1
| | | | | | | | It's not obvious from the current docs that you have to explicitly split command line options and wanted commands. Addresses: https://github.com/karelzak/util-linux/issues/833 Signed-off-by: Karel Zak <kzak@redhat.com>
* misc: consolidate version printing and close_stdout()Karel Zak2019-04-161-3/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* choom: fix negative adjust score usageKarel Zak2018-12-101-1/+1
| | | | | | | | It's really bad idea to use uint64_t (ul_path_write_u64(()) when write signed number. Addresses: https://github.com/karelzak/util-linux/issues/723 Signed-off-by: Karel Zak <kzak@redhat.com>
* choom: use new ul_path_* APIKarel Zak2018-06-211-17/+26
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* choom: set oom_score_adj before execVaclav Dolezal2018-05-091-0/+2
| | | | Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>
* choom: fix build, remove unnecessary includeKarel Zak2018-04-161-3/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* choom: new command to adjust OOM-killer score valueKarel Zak2018-04-161-0/+150
Let's provide command line tool, man page with OOM description and bash-completion. It seems better than force end-users to use "echo" to /proc. Addresses: https://github.com/karelzak/util-linux/issues/609 Signed-off-by: Karel Zak <kzak@redhat.com>