Gilles Pion
2011-10-01 09:15:43 UTC
Hello,
In the output of "cpu" section of check_mk_agent.aix the value after
the "/" is supposed to be the number of threads
The code used to compute this value uses the following statement:
ps=`ps -ef|wc -l|sed -e 's;[[:space:]]\{1,\};;'`
which really gives the number of *processes*
Maybe would be better to use the following command :
ps=`/usr/bin/ps -eo thcount | awk '{SUM+=$1} END {print SUM}'`
--
Gilles Pion
In the output of "cpu" section of check_mk_agent.aix the value after
the "/" is supposed to be the number of threads
The code used to compute this value uses the following statement:
ps=`ps -ef|wc -l|sed -e 's;[[:space:]]\{1,\};;'`
which really gives the number of *processes*
Maybe would be better to use the following command :
ps=`/usr/bin/ps -eo thcount | awk '{SUM+=$1} END {print SUM}'`
--
Gilles Pion