Process monitoring
ps
ps auxtop
toppspy
pspy64psmonitor.sh
#!/bin/bash
IFS=$'\n'
op=$(ps -eo command)
while true; do
np=$(ps -eo command)
diff <(echo "$op") <(echo "np")
sleep 1
op=$np
doneLast updated
ps auxtoppspy64#!/bin/bash
IFS=$'\n'
op=$(ps -eo command)
while true; do
np=$(ps -eo command)
diff <(echo "$op") <(echo "np")
sleep 1
op=$np
doneLast updated