]> git.ipfire.org Git - thirdparty/util-linux.git/commit
prlimit: new command
authorDavidlohr Bueso <dave@gnu.org>
Wed, 19 Oct 2011 20:02:35 +0000 (16:02 -0400)
committerKarel Zak <kzak@redhat.com>
Fri, 21 Oct 2011 21:19:51 +0000 (23:19 +0200)
commit6bac2825af7216c5471148e219dbcf62ec5ede84
tree61f329f0fe199c861dddcef25603c49d9a5f63df
parent6a2f2f58a428890a33b382876bab78c608cc7c1c
prlimit: new command

This program uses the prlimit() system call to get and/or set resource limits
for a given process.

[kzak@redhat,com: - improve <soft:hard> parsing,
                  - use short cmdline options compatible with ulimits
                  - add --verbose mode
                  - fix gcc warnings]

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/.gitignore
sys-utils/Makefile.am
sys-utils/prlimit.1 [new file with mode: 0644]
sys-utils/prlimit.c [new file with mode: 0644]