Pages

Showing posts with label IO details of all processes in the system. Show all posts
Showing posts with label IO details of all processes in the system. Show all posts

Wednesday, 4 July 2012

Which command will provide IO details of all processes in the system?

Which command will provide IO details of all processes in the system?


You can execute following command to get the details :

for i in {1..65353}; do if [ -f /proc/$i/io ] ; then echo "---------------------------------------------------"; echo "Process name :" ; cat /proc/$i/cmdline; echo "PID : $i" ; echo "IO Details:" ; cat /proc/$i/io ; fi; done           


   -------------->provide IO details of all processes in the system?

Twitter Bird Gadget