I am writing a linux application that needs to monitor the available
disk space and CPU usage. The CPU usage was easy to calculate from
values in /proc/stat. But, I can't seem to find a simple way to monitor
the disk usage on a ext2 fs. And no, I can't do a system call to du and
parse the results.
Does anyone have ideas or sample code?
Thanks,
Steve
--
/ / /
\ \ \ mailto:shelik...@intermetrics.com
/ / /