summaryrefslogtreecommitdiffstats
path: root/sys-utils/Makemodule.am
diff options
context:
space:
mode:
authorKarel Zak2018-04-16 12:53:39 +0200
committerKarel Zak2018-04-16 12:53:39 +0200
commit8fa223daba1963c34cc828075ce6773ff01fafe3 (patch)
tree2c204a62f432aeb5e3830e370b1cc04c9eadad16 /sys-utils/Makemodule.am
parentlslocks: fix memory leak (diff)
downloadkernel-qcow2-util-linux-8fa223daba1963c34cc828075ce6773ff01fafe3.tar.gz
kernel-qcow2-util-linux-8fa223daba1963c34cc828075ce6773ff01fafe3.tar.xz
kernel-qcow2-util-linux-8fa223daba1963c34cc828075ce6773ff01fafe3.zip
choom: new command to adjust OOM-killer score value
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>
Diffstat (limited to 'sys-utils/Makemodule.am')
-rw-r--r--sys-utils/Makemodule.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-utils/Makemodule.am b/sys-utils/Makemodule.am
index c2e99ca2d..db76e2621 100644
--- a/sys-utils/Makemodule.am
+++ b/sys-utils/Makemodule.am
@@ -20,6 +20,13 @@ flock_SOURCES = sys-utils/flock.c lib/monotonic.c lib/timer.c
flock_LDADD = $(LDADD) libcommon.la $(REALTIME_LIBS)
endif
+#if BUILD_CHOOM
+usrbin_exec_PROGRAMS += choom
+dist_man_MANS += sys-utils/choom.1
+choom_SOURCES = sys-utils/choom.c
+choom_LDADD = $(LDADD) libcommon.la
+#endif
+
if BUILD_IPCMK
usrbin_exec_PROGRAMS += ipcmk
dist_man_MANS += sys-utils/ipcmk.1