Monday, 18 May 2015 00:00

Identifying the processes causing the disk subsystem load in Linux

Rate this item
(0 votes)

In Centos 5.x, there is no normal iotop support, without which it is hard to see which process is loading the disk system the most.

But you can use the disktop.stp script, written for the

SystemTap dynamic routing subsystem.

To run disktop in CentOS we need to:

Install packages

   kernel-debuginfo-`uname -r`

kernel-debuginfo-common-`uname -r`

(you can download them here http://debuginfo.centos.org/5/

Install the package kernel-devel-`uname -r`

Install systemtap:

   yum install systemtap

Run disktop:

   stap disktop.stp

The illustration of how it works:

   # stap disktop.stp

Wed Nov 24 16:16:20 2010 , Average: 351Kb/sec, Read: 1680Kb, Write: 76Kb

UID PID PPID CMD DEVICE T BYTES

102 16196 29589 nginx sda3 R 539535

48 29429 26950 httpd sda3 R 161992

48 29427 26950 httpd sda3 R 141730

48 20089 26950 httpd sda3 R 100256

102 16196 29589 nginx sda3 W 57253

Last modified on Monday, 18 May 2015 19:19
Data Recovery Expert

Viktor S., Ph.D. (Electrical/Computer Engineering), was hired by DataRecoup, the international data recovery corporation, in 2012. Promoted to Engineering Senior Manager in 2010 and then to his current position, as C.I.O. of DataRecoup, in 2014. Responsible for the management of critical, high-priority RAID data recovery cases and the application of his expert, comprehensive knowledge in database data retrieval. He is also responsible for planning and implementing SEO/SEM and other internet-based marketing strategies. Currently, Viktor S., Ph.D., is focusing on the further development and expansion of DataRecoup’s major internet marketing campaign for their already successful proprietary software application “Data Recovery for Windows” (an application which he developed).

Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.

Get Help Now

Thank you for contacting us.
Your Private Investigator will call you shortly.