diff options
Diffstat (limited to 'plugins/check_procs.c')
| -rw-r--r-- | plugins/check_procs.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c index 4c729501..937c0ad5 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c | |||
| @@ -694,7 +694,7 @@ print_help (void) | |||
| 694 | printf (" %s\n", _("PROCS - number of processes (default)")); | 694 | printf (" %s\n", _("PROCS - number of processes (default)")); |
| 695 | printf (" %s\n", _("VSZ - virtual memory size")); | 695 | printf (" %s\n", _("VSZ - virtual memory size")); |
| 696 | printf (" %s\n", _("RSS - resident set memory size")); | 696 | printf (" %s\n", _("RSS - resident set memory size")); |
| 697 | printf (" %s\n", _("CPU - percentage cpu")); | 697 | printf (" %s\n", _("CPU - percentage CPU")); |
| 698 | /* only linux etime is support currently */ | 698 | /* only linux etime is support currently */ |
| 699 | #if defined( __linux__ ) | 699 | #if defined( __linux__ ) |
| 700 | printf (" %s\n", _("ELAPSED - time elapsed in seconds")); | 700 | printf (" %s\n", _("ELAPSED - time elapsed in seconds")); |
| @@ -713,11 +713,11 @@ print_help (void) | |||
| 713 | printf (" %s\n", "-p, --ppid=PPID"); | 713 | printf (" %s\n", "-p, --ppid=PPID"); |
| 714 | printf (" %s\n", _("Only scan for children of the parent process ID indicated.")); | 714 | printf (" %s\n", _("Only scan for children of the parent process ID indicated.")); |
| 715 | printf (" %s\n", "-z, --vsz=VSZ"); | 715 | printf (" %s\n", "-z, --vsz=VSZ"); |
| 716 | printf (" %s\n", _("Only scan for processes with vsz higher than indicated.")); | 716 | printf (" %s\n", _("Only scan for processes with VSZ higher than indicated.")); |
| 717 | printf (" %s\n", "-r, --rss=RSS"); | 717 | printf (" %s\n", "-r, --rss=RSS"); |
| 718 | printf (" %s\n", _("Only scan for processes with rss higher than indicated.")); | 718 | printf (" %s\n", _("Only scan for processes with RSS higher than indicated.")); |
| 719 | printf (" %s\n", "-P, --pcpu=PCPU"); | 719 | printf (" %s\n", "-P, --pcpu=PCPU"); |
| 720 | printf (" %s\n", _("Only scan for processes with pcpu higher than indicated.")); | 720 | printf (" %s\n", _("Only scan for processes with PCPU higher than indicated.")); |
| 721 | printf (" %s\n", "-u, --user=USER"); | 721 | printf (" %s\n", "-u, --user=USER"); |
| 722 | printf (" %s\n", _("Only scan for processes with user name or ID indicated.")); | 722 | printf (" %s\n", _("Only scan for processes with user name or ID indicated.")); |
| 723 | printf (" %s\n", "-a, --argument-array=STRING"); | 723 | printf (" %s\n", "-a, --argument-array=STRING"); |
| @@ -753,9 +753,9 @@ be the total number of running processes\n\n")); | |||
| 753 | printf (" %s\n", _("Warning alert if > 10 processes with command arguments containing")); | 753 | printf (" %s\n", _("Warning alert if > 10 processes with command arguments containing")); |
| 754 | printf (" %s\n\n", _("'/usr/local/bin/perl' and owned by root")); | 754 | printf (" %s\n\n", _("'/usr/local/bin/perl' and owned by root")); |
| 755 | printf (" %s\n", "check_procs -w 50000 -c 100000 --metric=VSZ"); | 755 | printf (" %s\n", "check_procs -w 50000 -c 100000 --metric=VSZ"); |
| 756 | printf (" %s\n\n", _("Alert if vsz of any processes over 50K or 100K")); | 756 | printf (" %s\n\n", _("Alert if VSZ of any processes over 50K or 100K")); |
| 757 | printf (" %s\n", "check_procs -w 10 -c 20 --metric=CPU"); | 757 | printf (" %s\n", "check_procs -w 10 -c 20 --metric=CPU"); |
| 758 | printf (" %s\n", _("Alert if cpu of any processes over 10%% or 20%%")); | 758 | printf (" %s\n", _("Alert if CPU of any processes over 10%% or 20%%")); |
| 759 | 759 | ||
| 760 | printf (_(UT_SUPPORT)); | 760 | printf (_(UT_SUPPORT)); |
| 761 | } | 761 | } |
