best way to find what is utilizing cpu and memory top 5 on linux code example Example: check the linux process top 10 # ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head