How to monitor the running i/o statistics of an application

iomonitoring

In windows I find it incredibly useful to monitor total I/O read bytes to give myself an idea of how long a command line process is taking/will take to execute a task. For example, for capinfos:

enter image description here

How would I get this information in linux?

Best Answer

iotop let you monitor the I/O consumption of each running process :

sudo apt-get install iotop
sudo iotop -a

(-a option is to display accumulated I/O instead of bandwidth)

enter image description here


For example, if I want to monitor Firefox I will run :

sudo iotop -ap 3120

(Where 3120 is the PID of Firefox)

Related Question