$ iostat -xdm
Use iostat with -p for specific device statistics:
$ iostat -xdm -p sda
Add in your archive screenshot or pictures of the operations and the result you obtained, also showing the output of iostat from which you took the values.
$ df -kh /dev/loop*
Debian/Ubuntu Linux install iotop $ sudo apt-get install iotop How to use iotop command $ sudo iotop OR $ iotop
Supported options by iotop command:
| Options | Description | |
| –version | show program’s version number and exit | |
| -h, –help | show this help message and exit | |
| -o, –only | only show processes or threads actually doing I/O | |
| -b, –batch | non-interactive mode | |
| -n NUM, –iter=NUM | number of iterations before ending [infinite] | |
| -d SEC, –delay=SEC | delay between iterations [1 second] | |
| -p PID, –pid=PID | processes/threads to monitor [all] | |
| -u USER, –user=USER | users to monitor [all] | |
| -P, –processes | only show processes, not all threads | |
| -a, –accumulated | show accumulated I/O instead of bandwidth | |
| -k, –kilobytes | use kilobytes instead of a human friendly unit | |
| -t, –time | add a timestamp on each line (implies –batch) | |
| -q, –quiet | suppress some lines of header (implies –batch) | |
Provide a screenshot in which it shows the iotop with only the active processes and one of them being the running script. Then another screenshot after you succeeded to kill it.