1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 14:16:00 +00:00

Fix grep command

This commit is contained in:
rfrail3 2012-09-19 08:49:07 +02:00
parent 4771fd2b53
commit d189784ce2
3 changed files with 5 additions and 5 deletions

View file

@ -58,7 +58,7 @@ if [ "$1" = "config" ]; then
exit 0
fi
VAL1=`ps auxf | grep ${PROCS} | grep ${USR} | grep -v grep | wc -l`
VAL1=`ps auxf | grep ${PROCS} | grep ^${USR} | grep -v grep | wc -l`
echo "servers.value $VAL1"