Projet

Général

Profil

Révision 36748826

ID36748826629f63d430e6bebe0e4c600369c2061b
Parent d1a69fe2
Enfant 3bc93969

Ajouté par Lars Kruse il y a plus de 5 ans

Fix spelling mistakes

Voir les différences:

plugins/network/netatalk
124 124
echo "proc.value" $(ps ax --no-headers -o command | grep "^$afpdPath" | wc -l)
125 125

  
126 126
# Connected users (user):
127
# 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)
127
# 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)
128 128
connectedUsers=$(ps anx --no-headers -o uid,command | sed 's/^ *//g' | grep "^[0-9]* $afpdPath" | sort -n | tail -n +2 | awk '{print $1}')
129 129
echo "user.value" `echo $connectedUsers | wc -w`
130 130

  

Formats disponibles : Unified diff