programmatic disk free information
Hello everybody,
I'm writing an application that has to run on SuSE and on Montavista. I need to see the amount of disk space available. So far the only option I found was to do a 'df' and then parse the result.
Do you know any other solution to this? I would prefer to do it programmatic way since I think it would be faster and safer (something similar to accessing /proc/meminfo for information about memory usage).
Thanks,
vidi
|