Skip to content
Technology News Information & Jobs

Technology News Information & Jobs

Ubuntu Tutorials, Ubuntu How To , Linux Tips, Tech Jobs

  • Work with US
  • Search Jobs
  • Post a Job
  • Contact Us
  • Ubuntu
    • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Themes
  • Linux
  • Laptops
  • Tutorials
  • Job Dashboard
  • Toggle search form
Monitor Disk I/O Activity In Linux With Iotop Command

Monitor Disk I/O Activity In Linux With Iotop Command

Posted on May 6, 2019 By admin

Insight: Monitor Disk I/O Activity In Linux With Iotop Command

Similar like htop, iotop is a tool to monitor disk I/O  activity in Linux based operating systems. System administrators can used this tool to monitor process causing high disk I/O read/writes.

Iotop displays columns for the I/O bandwidth read and written by each process/thread during the sampling period. It also displays the percentage of time the thread/process spent while swapping in and while waiting on I/O. For each process, its I/O priority (class/level) is shown.

In addition, the total I/O bandwidth read and written during the sampling period is displayed at the top of the interface.

Monitor Disk I/O Activity In Linux With Iotop Command

How To Install iotop In Linux

You can install iotop using Package Manager. Go through the following command to install using package manager.

On CentOS, RHEL and Fedora

# yum install iotop -y

On Ubuntu, Linux Mint and Debian based operating system 
# apt-get install iotop

To install most recent version, you can install iotop from Source

# wget http://guichaz.free.fr/iotop/files/iotop-0.6.tar.bz2
# tar -xjvf iotop-0.6.tar.bz2
# cd iotop-0.6/
# ./setup.py install

Basic Usage of iotop:

Run the following command to monitor the disk usage of each running processes:

$ sudo iotop

You can also run iotop with -o or –only option to see current processes or threads and their disk usage.

$ sudo iotop --only

To monitor the disk I/O of the processes running following iotop command as the user itsubuntu.

$ sudo iotop -P -u itsubuntu

To display PID column instead of TID column:

$ sudo iotop -P

To monitor the disk I/O of the processes with the PID 1230 and 5555 only, you would run iotop as follows:

$ sudo iotop -P -p 1230 -p 5555

Displaying Total I/O Usage Per Process:

READ More Relevant Stuff:  Check Linux CPU And Hard Disk Temperature

Run the following iotop command to display the total I/O per process:

$ sudo iotop -ao

More usage and options of iotop:

–version

Show the version number and exit
-h, –help
Show usage information and exit
-o, –only
Only show processes or threads actually doing I/O, instead of showing all processes or threads. This can be dynamically toggled by pressing o.
-b, –batch
Turn on non-interactive mode. Useful for logging I/O usage over time.
-n NUM, –iter=NUM
Set the number of iterations before quitting (never quit by default). This is most useful in non-interactive mode.
-d SEC, –delay=SEC
Set the delay between iterations in seconds (1 second by default). Accepts non-integer values such as 1.1 seconds.
-p PID, –pid=PID
A list of processes/threads to monitor (all by default).
-u USER, –user=USER
A list of users to monitor (all by default)
-P, –processes
Only show processes. Normally iotop shows all threads.
-a, –accumulated
Show accumulated I/O instead of bandwidth. In this mode, iotop shows the amount of I/O processes have done since iotop started.
-k, –kilobytes
Use kilobytes instead of a human friendly unit. This mode is useful when scripting the batch mode of iotop. Instead of choosing the most appropriate unit iotop will display all sizes in kilobytes.
-t, –time
Add a timestamp on each line (implies –batch). Each line will be prefixed by the current time.
-q, –quiet
suppress some lines of header (implies –batch). This option can be specified up to three times to remove header lines.
-qcolumn names are only printed on the first iteration,

-qq

column names are never printed,

-qqq

the I/O summary is never printed.

 

READ More Relevant Stuff:  Best MS Office Alternatives For Linux : Free Linux Office Suite
Linux Tags:iotop

Post navigation

Previous Post: Install ttyload In Linux : Graphical Tracking Tool For Load Average
Next Post: Microsoft Unveils Visual Studio Online In Build2019

Related Posts

How To Install Xrdp Server On Ubuntu 22.04 | Remote Desktop How To Install Xrdp Server On Ubuntu 22.04 | Remote Desktop Linux
Install MusicBrainz Picard In Linux : Music Tagger For Linux Ubuntu
Create Linux Bootable USB Easily Create Linux Bootable USB Drive With Ventoy Linux
How To Mount Dropbox Folder Locally In Linux 2023 How To Mount Dropbox Folder Locally In Linux [2023] Linux
How To Run Windows Software On Linux With Bottles How To Run Windows Software On Linux With Bottles Linux
List of Best Opensource AutoCAD Alternatives For Linux Operating Systems. Best Opensource AutoCAD Alternatives For Linux Operating Systems. Linux

Recent Posts

  • New Job Search October 10, 2025
  • How To Enable Hibernate in Ubuntu 22.04 LTS May 20, 2024
  • Popular Ubuntu Games: Top 5 Games To Play March 17, 2024
  • WordPress | Your site doesn’t include support for the “generateblocks/container” block GenerateBlocks Plugin February 11, 2024
  • Ubuntu Autoremove Command Debian Autoremove Command February 10, 2024
  • How To Mount Windows 11 Shares on Debian Linux December 7, 2023
  • Anonymous Browsing 101: A Deep Dive Into Residential Proxies November 20, 2023
  • How To Correctly Install Uninstall Linux Ubuntu Nvidia Drivers Fast October 31, 2023
  • Ethical Web Design: The Dos and Don’ts October 28, 2023
  • Understanding the Role of Security Operations Center October 25, 2023
  • The Positive Effects of AI Tools and Online Services on Students Successful Essay-Writing Skills October 3, 2023

Categories

  • Android
  • Apple
  • Blogs
  • Debian
  • Fix
  • Gadgets
  • Game
  • Google
  • How To Ubuntu
  • Internet
  • Laptops
  • Linux
  • Linux Commands
  • Linux Game
  • Linux Mint
  • News
  • Operating Systems
  • Security
  • Technology
  • Themes
  • Tools
  • Tutorials
  • Ubuntu
  • ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Windows 11
  • Wordpress
  • Search Jobs
  • Post a Job
  • Job Dashboard
  • Contact Us
  • About US
  • Cookie Policy
  • Terms and Conditions
  • Privacy Policy
  • Sitemap
  • Write For US

Tags

android apps centos ChatGPT command Commands Debian deepin Desktop docker Fedora fix game games Gaming gnome google kernel linux linux commands linux kernel Linux laptops Linux Mint Linux themes minecraft NVIDIA Python Raspberry Pi sysadmin themes ubuntu ubuntu 18.04 Ubuntu 18.04 LTS Ubuntu 20.04 ubuntu 20.04 lts Ubuntu 22.04 LTS Ubuntu games Ubuntu kernel ubuntu themes ubuntu tutorial VirtualBox Windows Windows 11 Wine WSL
itsubuntu.com is an Equal Opportunity Employer. For Advertisement, Jobs, Guest posts, and any other thoughts, email us at [email protected]
  • Service Writer

    • Prescott Valley, AZ
    • Little Dealer Little Prices
    • Full Time
  • English Writer – Remote

    • Washington DC
    • Outlier AI
    • Full Time
  • VOLUNTEER: Writer/Blogger

    • New York, NY
    • WebServes
    • Full Time
  • Deviation Writer (Durham)

    • Durham, NC
    • Process Alliance
    • Full Time
  • River North Marina – Service Writer

    • Alexander City, AL
    • Russell Lands
    • Full Time
  • Data Science & AI Data Scientist

    • Norfolk, VA (Remote)
    • Spektrum
    • Full Time
  • Service Writer

    • Birmingham, AL
    • Serra Automotive Group
    • Full Time
  • Service Writer – Lawn & AG

    • Columbus, OH
    • Virtual Fair Feb 27 - Buckeye Power Sales
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme