
monitoring free disk space
My problem is writing BIG (>1 GB) files to hard disk from a C program. I need
to find a C or other function that allows me to check the free disk space
before I open the file in that area. I could try to use df or du and parse it
to find the info, but they are not using standard format when output. Is there
a function that is standard for Sun os, solaris and IBM aix that can provide
disk monitoring? Also, how can I adressing multiple disks and monitor all of
them dynamically?
Thanks