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:  How To Upgrade To Linux Mint 20.2 | Easy Method

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:  Docker Stop Container Commands [Examples]
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

Linux Kernel 5.10 LTS Released Linux Kernel 5.10 LTS Released Linux
How To Install NotepadQQ On Linux How To Install NotepadQQ On Linux [Updated] How To Ubuntu
Best GUI Based USB Image Writer Tools On Linux [2023] Linux
How To Upgrade To Ubuntu 23.04 From Ubuntu 22.10 How To Upgrade To Ubuntu 23.04 From Ubuntu 22.10 Linux
How To Mount Dropbox Folder Locally In Linux 2023 How To Mount Dropbox Folder Locally In Linux [2023] Linux
Pop!_OS 22.04 LTS: Pop!_OS 22.04 LTS Is Now Available For Download 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]
  • Blogger for Real Estate Websites

    • Southlake, TX
    • VA Loan Network
    • Full Time
  • MDM Architect

    • Ephrata, PA
    • firstPRO, Inc
    • Full Time
  • User Interface Developer

    • Pittsburgh, PA
    • Indotronix Avani Group
    • Full Time
  • Artificial Intelligence/Machine Learning (AI/ML) Engineer III

    • Annapolis, MD
    • Reflexive Concepts, LLC
    • Full Time
  • AI & Integration Analyst

    • Los Angeles, CA
    • Prestige Legal Solutions, P.C.
    • Full Time
  • Azure Data Engineer

    • Dallas, TX
    • Anblicks
    • Full Time
  • UI Developer

    • Milford, OH
    • Tata Consultancy Services
    • Full Time
  • User Experience Writer

    • San Antonio, TX
    • Brooksource
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme