aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_procs.c
diff options
context:
space:
mode:
authorGravatar Joerg Linge <joerg.linge@pnp4nagios.org> 2013-02-27 17:16:38 +0100
committerGravatar Sven Nierlein <sven@nierlein.de> 2013-02-27 23:18:14 +0100
commite0eb2ebca37dc5d809979e2372b4cb95e7696b8b (patch)
tree31134e69001f39c28c2d27bc5151c60413ad68be /plugins/check_procs.c
parent5fce5ceaeb316a1701c49a9c966d60b602101ed9 (diff)
downloadmonitoring-plugins-e0eb2ebca37dc5d809979e2372b4cb95e7696b8b.tar.gz
Update plugins/check_procs.c
added missing longopt --user
Diffstat (limited to 'plugins/check_procs.c')
-rw-r--r--plugins/check_procs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index 00b032a7..6acedc70 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -332,6 +332,7 @@ process_arguments (int argc, char **argv)
{"timeout", required_argument, 0, 't'},
{"status", required_argument, 0, 's'},
{"ppid", required_argument, 0, 'p'},
+ {"user", required_argument, 0, 'u'},
{"command", required_argument, 0, 'C'},
{"vsz", required_argument, 0, 'z'},
{"rss", required_argument, 0, 'r'},