pspy - Process Snooping
Run
./pspy64
Manual watch alternatives
watch -n 1 "ps -aux | grep pass"
watch "ps aux | grep '/bin/bash' | grep 'root'"
watch -n 1 "ps aux | grep '/bin/bash' | grep 'root'" > log.txt
Loopback traffic sniffing for plaintext credentials
sudo tcpdump -i lo -A | grep "pass"
Reference
https://github.com/DominicBreuker/pspy