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 No Comments on Monitor Disk I/O Activity In Linux With Iotop Command

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:  30+ Linux Networking Commands And Tools

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:  Have You Heard About These Secured Linux Phones?
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 Fix "Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)" Errors How To Fix “Could not get lock /var/lib/dpkg/lock – open (11 Resource temporarily unavailable)” Errors Linux
Slimbook Executive Linux Ultrabooks Specifications [12th generation Intel Alder Lake CPU] Slimbook Executive Linux Ultrabooks Specifications [12th generation Intel Alder Lake CPU] Laptops
Zorin OS 16.2 Released: Windows 11 Alternative Zorin OS 16.2 Released: Windows 11 Alternative Linux
Tutorial To Check Open Ports In Linux Tutorial To Check Open Ports In Linux Linux
Free Online Linux Tutorials For Beginners In 2020 Free Online Linux Tutorials For Beginners In 2022 Linux
9 Wget Command Examples In Linux For Beginners 9 Wget Command Examples In Linux For Beginners Linux

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • 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
  • Linux Wget Examples September 27, 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]
  • Grants Writer

    • Oakland, CA
    • MatchBukh Talent Solutions LLC
    • Full Time
  • User Experience Writer

    • San Antonio, TX
    • Brooksource
    • Full Time
  • Grant Writer

    • Columbus, OH
    • Columbus City Schools - Ohio
    • Full Time
  • User Experience Writer

    • San Antonio, TX
    • Brooksource
    • Full Time
  • Procedure Writer

    • Des Moines, IA
    • Innova Solutions
    • Full Time
  • Grant Writer (Entry Level)

    • Dallas, TX
    • Texas Parks and Wildlife Foundation
    • Full Time
  • Bioinformatics Data Scientist- NGS (Lake Forest, CA-NO REMOTE)

    • Lake Forest, IL (Remote)
    • ZipRecruiter
    • Full Time
  • NDE/NDT Principal Level 3 Procedure Writer.

    • Camden, NJ
    • EGS, Inc.
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme