[Nagiosplug-help] Broken check_procs or malusage?
Ralph.Grothe at itdz-berlin.de
Ralph.Grothe at itdz-berlin.de
Tue Feb 19 17:21:28 CET 2008
Hi,
I wonder why this simple check for cpu usage percentage of Java
master threads fails?
Is my invocation wrong?
$ check_procs -w 3 -c 10 -m CPU -C java
CPU OK: 7 processes with command name 'java'
$ UNIX95= ps -C java -o pcpu,comm
%CPU COMMAND
2.81 java
7.24 java
9.72 java
2.61 java
2.86 java
3.17 java
1.88 java
This is run on
$ uname -srvm
HP-UX B.11.11 U 9000/800
with this plugin release
$ check_procs -V
check_procs (nagios-plugins 1.4) 1.43
I am also puzzled what the -P switch is good for in this context?
$ check_procs -w 3 -c 10 -m CPU -C java -P 3
CPU OK: 0 processes with command name 'java', PCPU >= 3.00
Regards
Ralph
More information about the Help
mailing list