3 lines
151 B
Plaintext
3 lines
151 B
Plaintext
FILE CONTENT OF
|
|
psstatus ps=("apache2" "mysqld" "sshd"); for((i=0;i<${#ps};i++)); do echo ${ps[$i]} "|" `pidof -s ${ps[$i]}` ;done
|