[email protected]Support 24/7 · Billing 09:00 – 00:00LinkedInXFacebook
NexonHost
Netherlands Dedicated ServersAmsterdam · Equinix AM6Germany Dedicated ServersFrankfurt · Equinix FR4Romania Dedicated ServersBucharest · VoxilityAustria Dedicated ServersVienna · Interxion VIEBulgaria Dedicated ServersSofia · TelepointFrance Dedicated ServersParis · Interxion PAR — Marseille · Digital Realty MRS3Ireland Dedicated ServersDublin · Equinix DB2Italy Dedicated ServersMilan · Irideos AvalonPoland Dedicated ServersWarsawSpain Dedicated ServersMadrid · Equinix MD2United States Dedicated ServersAshburn · Equinix DC
All articles
Knowledge BaseJanuary 11, 2024

How to use iotop command

What is iotop command:

The iotop command is a tool used in Unix and Linux operating systems to monitor and display the disk I/O usage by processes and threads on the system. It stands for “input/output top” and provides a real-time view of the processes that are performing I/O operations, such as reading from or writing to the disk.

Installation

CentOS/RHEL

sudo yum install iotop

Ubuntu

sudo apt install iotop
  1. To get the list of processes and their current disk IO usage.
sudo iotop

This command will now display the list of processes and their current disk usage and will keep on updating the same.

  1. To show processes that are actually doing IO
sudo iotop -o

This will display all the processes which are currently and actually doing IO.

  1. To get the version of the iotop
sudo iotop --version

This will display the currently installed version of iotop tool.

  1. To display help section
sudo iotop -h

This command will display the help section of the iotop tool.

  1. To display output in non interactive mode
sudo iotop -b

This will display the output in non-interactive and batch mode.

  1. To change the number of iterations or updations
sudo iotop -n 3

This command will not update the output 3 times in spite of the default time which is infinity.

  1. To display a specific process
sudo iotop -p 14353

This will display the IO usage of the process with the mentioned PID in spite of all the processes

  1. To show accumulated output
sudo iotop -a

This will not display the accumulated IO instead of bandwidth.

  1. To add a time stamp to each line
sudo iotop -t

This will add a time stamp to each line of the output.

  1. To suppress some lines of header
sudo iotop -q

This will now suppress some line of header in the output.

Keep reading
How to use egrep command in Linux.
September 15, 2023

How to use egrep command in Linux.

How To Use Egrep Command. This guide explains how to use the Linux egrep command through practical examples. The egrep (Extended Global Regular Expression Print) command is a text processing tool that searches for patterns or regular expressions in a specified location. The tool provides the same…

Read article
How to use dd command in Linux.
September 15, 2023

How to use dd command in Linux.

How To Use Dd Command. In this tutorial, we learn about dd command in Linux with practical examples. The Linux dd command is one of the most powerful utilities for Unix and Unix-like operating systems. It can be used in a variety of ways. dd command in Linux dd command is mainly used for copying…

Read article
How to use csplit command in Linux.
September 15, 2023

How to use csplit command in Linux.

How To Use Csplit Command. The csplit command is used to split any file into many parts as required by the user. The parts are determined by context lines. Output pieces of FILE separated by PATTERN(s) to files ‘xx00’, ‘xx01’, …, and output byte counts of each piece to standard output. Syntax:…

Read article
Get in Touch

Together, Let’s Build a Faster, Safer Internet.

Build scalable infrastructure with NexonHost — high-performance dedicated servers, VPS hosting, cloud hosting, and DDoS protection across Europe.

Get Started →Contact Us
[email protected]Support 24/7 · Billing 09:00 – 00:00