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