processes

List processes sorted by consumption

ps -e -o pid,vsz,comm= | sort -n -k 2 

Kill amount of processes

kill $(ps aux | grep 'openvas' | awk '{print $2}')

Display activities for each available processor

mpstat -P ALL

Running system information

top -n1 -b1

Files opened by processes

lsof

Files opened by processes in /tmp

lsof +D /tmp

Files deleted still opened

lsof +L1
lsof -i6

Files opened by processes by www-data user

lsof -a -i -u www-data

Porcesses using the <PORT> Port

lsof +c 0 -i:<PORT> -n