Once in a while my Ubuntu desktop becomes slow because of a particular process.
How can I find out from the command line which process is consuming the maximum memory and CPU?
I suggest you to use the tools "top" or "htop".