linux list top cpu processes code example Example: linux list top cpu processes ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head