Thursday, 23 August 2012

How to measure the average CPU utilization of a Linux process

Sometimes you may want to know the CPU usage of a particular Linux process. Since the CPU usage of a process can fluctuate over its lifetime, you will want to measure the average CPU usage or CPU utilization of the process. For this purpose, a Linux tool set called sysstat may come in handy. sysstat contains a collection of performance monitoring tools for Linux, reporting statistics on disk I/O, CPU, memory, networking, and other system activities. One of the utilities contained in sysstat is pidstat which measures the average CPU usage of Linux processes. In order to use pidstat, you need to install sysstat as follows.Read more »

No comments:

Post a Comment