Forrest logo
tool overview
On this page you find all important commands for the CLI tool iotop. If the command you are looking for is missing please ask our AI.

iotop

Iotop is a command line tool that allows monitoring of disk I/O usage in real-time. It provides a detailed overview of the processes responsible for disk I/O operations, indicating the amount of data being read from or written to the disk by each process. This tool is particularly useful for system administrators and developers to identify potential performance bottlenecks and troubleshoot disk-related issues. Iotop provides information such as the process ID (PID), user, priority, and the amount of I/O being performed by each process. It also displays the type of I/O operation (read or write), the device being used for I/O, and the path of the accessed file. The data is presented in a dynamic color-coded interface that updates in real-time, making it easy to identify the processes consuming significant disk resources. Iotop can be executed with root privileges to gain a complete view of all disk I/O activities system-wide. It can also display accumulated I/O over a specific time interval, helping to analyze disk usage trends. The tool uses the Linux kernel's accounting information and is available for various Linux distributions. It provides a convenient and efficient way to monitor disk I/O and gain insights into system performance.

List of commands for iotop:

  • iotop:tldr:25e13 iotop: Show I/O usage of a given user.
    $ sudo iotop --user=${user}
    try on your machine
    explain this command
  • iotop:tldr:4dc07 iotop: Start top-like I/O monitor.
    $ sudo iotop
    try on your machine
    explain this command
  • iotop:tldr:9e766 iotop: Show I/O usage in non-interactive mode.
    $ sudo iotop --batch
    try on your machine
    explain this command
  • iotop:tldr:dca4c iotop: Show I/O usage of given PID(s).
    $ sudo iotop --pid=${PID}
    try on your machine
    explain this command
  • iotop:tldr:dd7ea iotop: Show only I/O usage of processes (default is to show all threads).
    $ sudo iotop --processes
    try on your machine
    explain this command
  • iotop:tldr:f0455 iotop: Show accumulated I/O instead of bandwidth.
    $ sudo iotop --accumulated
    try on your machine
    explain this command
  • iotop:tldr:f6299 iotop: Show only processes or threads actually doing I/O.
    $ sudo iotop --only
    try on your machine
    explain this command
tool overview