I found those small scrips online which I think is very useful to monitor the server https://unix.stackexchange.com/questions/120570/how-can-i-monitor-cpu-usage-by-user/120581 https://github.com/scaidermern/script-snippets/blob/master/showPerUserMem.sh