1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-25 02:18:08 +00:00

Fix spelling mistakes

This commit is contained in:
Lars Kruse 2020-08-25 15:45:57 +02:00
parent d1a69fe25b
commit 3674882662
15 changed files with 22 additions and 22 deletions

View file

@ -124,7 +124,7 @@ fi
echo "proc.value" $(ps ax --no-headers -o command | grep "^$afpdPath" | wc -l)
# Connected users (user):
# We will ignore root (having UID=0 it's line will be first) (assomption done: there will have only one line corresponding to root in `ps` output)
# We will ignore root (having UID=0 it's line will be first) (assumption done: there will have only one line corresponding to root in `ps` output)
connectedUsers=$(ps anx --no-headers -o uid,command | sed 's/^ *//g' | grep "^[0-9]* $afpdPath" | sort -n | tail -n +2 | awk '{print $1}')
echo "user.value" `echo $connectedUsers | wc -w`