Is there any ssh command to know the cpu usage of a particual user at a single instant. Or to know the user who has the highest cpu usage at that instant.
You need to run 'top' command after that just hit shift+m, it will sort output by memory. Orelse, simply you can run 'w' command to see load on the server.
try ps -aux | grep 'username' just replace the word username with the username you're looking for, and keep the quote marks edit: the higher user with cpu usage would show if you use the top command, it'll show you the top processes using the cpu time, or try shift+m and it'll show you the top users of server memory.