Monitor periodically linux ordered processes
Task: Monitor processes on the linux instance order by CPU usage
Solution
Use next command (displays top 15 rows):
ps -Ao user,uid,comm,pid,pcpu --sort=-pcpu | head -n 15
Done.
Scientific Algorithms and Analytics
Task: Monitor processes on the linux instance order by CPU usage
Solution
Use next command (displays top 15 rows):
ps -Ao user,uid,comm,pid,pcpu --sort=-pcpu | head -n 15
Done.