What is iotop command:
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.
To get the list of processes and their current disk IO usage.
This command will now display the list of processes and their current disk usage and will keep on updating the same.
To show processes that are actually doing IO
This will display all the processes which are currently and actually doing IO.
To get the version of the iotop
This will display the currently installed version of iotop tool.
To display help section
This command will display the help section of the iotop tool.
To display output in non interactive mode
This will display the output in non-interactive and batch mode.
To change the number of iterations or updations
This command will not update the output 3 times in spite of the default time which is infinity.
To display a specific process
This will display the IO usage of the process with the mentioned PID in spite of all the processes
To show accumulated output
This will not display the accumulated IO instead of bandwidth.
To add a time stamp to each line
This will add a time stamp to each line of the output.
To suppress some lines of header
This will now suppress some line of header in the output.