Check which process is taking most CPU time and memory. code example Example: check the linux process top 10 # ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head