I\'m working on a simulation model, where I want to determine when the storage IOPS capacity becomes a bottleneck (e.g. and HDD has ~150 IOPS, while an SSD can have 150,000). So
The iotop
command collects I/O usage information about processes on Linux. By default, it is an interactive command but you can run it in batch mode with -b
/ --batch
. Also, you can a list of processes with -p
/ --pid
. Thus, you can monitor the activity of a git
command with:
$ sudo iotop -p $(pidof git) -b
You can change the delay with -d
/ --delay
.