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:
parent
d1a69fe25b
commit
3674882662
15 changed files with 22 additions and 22 deletions
|
@ -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`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue