iotop
Rank processes by I/O. toybox
On Linux
Linux
Rank processes by I/O. Cursor LEFT/RIGHT to change sort, UP/DOWN move list, space to force update, R to reverse sort, Q to exit.
iotop [-AaKObq] [-n NUMBER] [-d SECONDS] [-p PID,] [-u USER,]
Show 15 options
-AAll I/O, not just disk-aAccumulated I/O (not percentage)-HShow threads-KKilobytes-kFallback sort FIELDS (default -[D]IO,-ETIME,-PID)-mMaximum number of tasks to show-OOnly show processes doing I/O-oShow FIELDS (default PID,PR,USER,[D]READ,[D]WRITE,SWAP,[D]IO,COMM)-sSort by field number (0-X, default 6)-bBatch mode (no tty)-d SECONDSDelay SECONDS between each cycle (default 3)-n NUMBERExit after NUMBER iterations-pShow these PIDs-uShow these USERs-qQuiet (no header lines)Several platforms
Display a table of current I/O usage by processes or threads.
Start top-like I/O monitor
sudo iotopIdentifyShow only processes or threads actually doing I/O
sudo iotop --onlyIdentifyShow I/O usage in non-interactive mode
sudo iotop --batchIdentifyShow only I/O usage of processes (default is to show all threads)
sudo iotop --processesIdentifyShow I/O usage of given PID(s)
sudo iotop --pid process_idIdentifyShow I/O usage of a given user
sudo iotop --user userIdentifyShow accumulated I/O instead of bandwidth
sudo iotop --accumulatedIdentify