Hi! I need iostats of each process on my linux machines. I can not use tools like iotop,....Please let me know if there is any way to get those stats.
Regards,
Kiran
Hi! I need iostats of each process on my linux machines. I can not use tools like iotop,....Please let me know if there is any way to get those stats.
Regards,
Kiran
I'm not sure if its the same on all linux, but there's some counters you can access in
/proc/$PID/stat
I've written scripts to monitor certain processes over time this way..
Jurn
i could not identify any IO related stats in that file.
you are right, sorry. I was looking at /proc/diststats which is not per ps