FlashOmega
April 1st, 2008, 05:35 PM
I am developing a system monitor terminal process that combines the functionality of top and iostat ... plus a little more... kinda like an all in one system monitor.
I hit a snag as someone asked me to include a listing of IO hogs (processes)
so there are a couple of different ways I am ok with doing this.
If I could find out when a process is performing io
or
if I could find out a list of io hogs (if I could find out how much they have written I could divide it by their uptime to see if they are a hog)
or
anything else I suppose
Any ideas on how to get io info per process?
Writting it in C incase that is important
Thanks:D
I hit a snag as someone asked me to include a listing of IO hogs (processes)
so there are a couple of different ways I am ok with doing this.
If I could find out when a process is performing io
or
if I could find out a list of io hogs (if I could find out how much they have written I could divide it by their uptime to see if they are a hog)
or
anything else I suppose
Any ideas on how to get io info per process?
Writting it in C incase that is important
Thanks:D