Analyzing a Single Linux Process Using PID

WE can get the process ID using the PID of or ps command:-

$ pidof apache2
OR
$ ps -e | grep apache2

For monitoring for all processes in the system write the following command:

 guider/guider.py top -a

We can also set an interval for showing the output using the following command:

sudo guider/guider.py top -i 2

To analyze resource usage which will give output regarding CPU cycle, instruction number, IPC, faults, cache miss, branch miss and so much more in real-time by using the following command:

sudo guider/guider.py top -eP -g 1913

-g  sets a filter that is the process ID in this case.

Guider a System Wide Linux Performance Analyzer

Guider is an open-source integrated performance analyzer tool written mostly in Python for Linux operating systems. Most of the functions required for measuring, analyzing, testing, and verifying Linux system performance are provided in Guider. Guider provides most of the features like  Monitoring, Profiling, Visualization,  control, Logging, Test. 

Information concerning CPU, memory, disk usage per thread, processes, system functions (user/kernel) are shown which makes it easy to know the root cause for abnormal system performance and improve them.

In this article, the installation of guider from source will be shown and also how to use it to analyze and improve overall Linux operating system performance. 

Similar Reads

Install Guider – Linux Performance Analyzer

For installing Guider on Linux, first, clone the guider repository from GitHub and go inside the guider directory by using the following commands:-...

How to use Guider

In Guider, the buffer size is set for its operations by default. the buffer size can be seen by using the following command:...

Analyzing a Single Linux Process Using PID

WE can get the process ID using the PID of or ps command:-...

Save Guider Output to a File

We can save trace data or any output in a file for later analyzing it. They save the trace data in a file called guider.data (by default) in the current directory by using the following command:...

Contact Us