Process monitoring

ps

ps(1) - Linux manual page - Report a snapshot of the current processes.
1
ps aux
Copied!

top

top(1) - Linux manual page - Display Linux tasks
1
top
Copied!

pspy

GitHub - DominicBreuker/pspy - Monitor linux processes without root permissions
1
pspy64
Copied!

psmonitor.sh

Monitor process changes
1
#!/bin/bash
2
IFS=#x27;\n'
3
op=$(ps -eo command)
4
while true; do
5
np=$(ps -eo command)
6
diff <(echo "$op") <(echo "np")
7
sleep 1
8
op=$np
9
done
Copied!
Copy link
Edit on GitHub