![]() ![]() ![]() You can execute top without any arguments on the terminal and then press " shift + m" to sort and print current high memory utilization process in Linux. Top - check high memory utilization process To check CPU usage per CPU core you can use sar -P for example to check CPU0 use sar -P 0Ī detailed overview on Linux memory management and different types on memory in Linux As you see CPU0 is most used while CPU 1-3 are mostly idle. For example to check CPU usage per core for 2 interval with 1 second gap use below command. Similarly you can use -P to check CPU usage per core. For example to check CPU usage for two intervals with a gap of 1 second # sar -u 1 2 ![]() To check CPU usage using sar you can use -u. I have written another article with all the system resources you can monitor using sar. ![]() Sar is another powerful monitoring tool which is used by most professionals (my personal favourite). If you just wish to monitor top CPU consuming process then there are various utilities such as top, vmstat, sar which can help you check high cpu usage process and give you runtime CPU utilization status in detail.ĪLSO READ: 20+ Top Open Source Application Performance Monitoring Tools (APM) sar- check CPU usage Now what if you wish to check top cpu and memory utilization process, so in this article we will go one step ahead and write a shell script to check top CPU consuming process and top Memory consuming process in Linux Shell script to check top Memory consuming process for an hourĮarlier I had written an article with the commands to check memory usage per process in Linux.Shell script to check top CPU consuming process for an hour.Command to check top Memory consuming process.Command to check top CPU consuming process.top – check high memory utilization process.Tools to check top Memory consuming process.top – check high CPU utilization process.Tools to check top CPU consuming process. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |