• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

To install Iotop Monitor Linux Disk I/O

{{postValue.id}}

To install Iotop Monitor Linux Disk I/O

Iotop is an open source and free utility monitoring tool to monitor server processes and usage. In this article, we will discuss how to install Iotop (Monitor Linux Disk I/O) in RHEL, CentOS and Fedora using yum command. This tool is based on Python programming. It requires Kernel accounting function to monitor and display processes.

Pre-requisites

Kernel 2.6.18
Python 2.4 with ctypes module

To install in RHEL, CentOS and Fedora

You need to update the Linux Kernel with the help of following command.

[root@linuxhelp Desktop]# yum update kernel
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Update Process
...
...
...

Installed:
  kernel.x86_64 0:2.6.32-573.18.1.el6                                           

Dependency Updated:
  kernel-firmware.noarch 0:2.6.32-573.18.1.el6

To update Python with ctypes module for this tool package

[root@linuxhelp Desktop]# yum install python python-ctypes
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.excellmedia.net
 * extras: centos.excellmedia.net
 * updates: centos.excellmedia.net
Package python-2.6.6-64.el6.x86_64 already installed and latest version
Package python-2.6.6-64.el6.x86_64 already installed and latest version
Nothing to do

To Install Iotop

Execute the following yum command to install.

[root@linuxhelp Desktop]# yum install iotop

To run Iotop

Execute the following command as root user.

[root@linuxhelp Desktop]# iotop

1

[root@linuxhelp Desktop]# iotop --only

Start using this tool with -o or &ndash only option to see all running processes or threads.

2

For Usage

To view all usage and options run the following command.

[root@linuxhelp Desktop]# man iotop

Iotop usage and keyboard shortcuts

Move left or right arrow key to change the sorting.
--version option is used to see version number and exit.

[root@linuxhelp Desktop]# iotop --version 

-h option is used to see information of usage.
-r option is used to reverse the sorting order.
-o option is used to check processes or thread.
-b option is used to Turn On non-interactive mode to enable logging I/O usage.
-p PID is used to list all processes/threads to monitor.

[root@linuxhelp Desktop]# iotop -p 2703

-u USER option is used to list all the users to monitor.

[root@linuxhelp Desktop]# iotop -u root

-P option is used to list only processes. Normally iotop displays all threads.
-a option is used to check accumulated I/O instead of bandwidth.

Tags:
connor
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How can i list the Running processes using the IOTOP ?

A

Use the Following option "-p" PID
It will list all processes/threads to monitor.

Q

What is used to open the running processes only?

A

"-o or –only" is used for it along with iotop

Q

How to monitor the process that is used by user processes?

A

Use the following option

iotop -u root

to monitor specific user process

Q

Where to find all the options and its usage?

A

Obviously, man page or -h option can be used for analysing options and usage

Q

What is SAWPIN in iotop ?

A

SWAPIN – The “SwapIn” column displays swap usage for each process.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Elijah ?
Remote Desktop Connection Has Stopped Working

When accessing my remote machine server using remote desktop on a windows machine I am getting this error

forum (1)

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.