Sort Disk Read Write in Linux Iotop Command

Updated: 4 days ago

Linux iotop command watches IO usage information output by the Linux kernel and displays a table of current I/O usage by processes on the system. Let us learn how to sort disk read, disk write in iotop command.




Iotop command shows the process ID, user, the disk read, the disk write, the swap usage, the percent IO, and the command for each process. For detailed info about iotop, please check here.


Sort Columns in Iotop

  • Hit the left and right arrow keys to change the sorting.

  • Hit r to reverse the sorting order.

  • Hit o only to see processes or threads actually doing I/O, instead of showing all processes or threads.

  • Hit p only show processes. Normally iotop shows all threads.

  • Hit a display accumulated I/O instead of bandwidth. In this mode, iotop shows the amount of I/O processes have done since iotop started.

  • Hit i to change the priority of a thread or a process’ thread(s) i.e. ionice.

  • Hit q to quit iotop.


Related post:

Using Linux Iotop to check disk IO usage Per process


414 views
udemylinux.png

Join our newsletter! Get a free cloud server!  Never miss a post!

Thanks for submitting!