It is currently Mon, 27 Jun 2022 12:25:09 GMT



 
Author Message
 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


 Sun, 04 Jan 1998 03:00:00 GMT   
 monitoring free disk space

In article <3uj8hd$...@sndsu1.sedalia.sinet.slb.com>, Gong Hui Wang <ghw> writes:
|> 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?
try man 2 fstatfs.
Servus
        Robert.
--
        macke...@informatik.tu-muenchen.de  
      Robert.Macket...@drums.zfe.siemens.de  



 Mon, 05 Jan 1998 03:00:00 GMT   
 
   [ 2 post ] 

Similar Threads

1. Utility to monitor free disk space..

2. FREE E-MAIL, FREE DISK SPACE, FREE UNIX ACCOUNT

3. FREE E-MAIL ACCOUNT, FREE DISK SPACE, FREE UNIX ACCOUNT

4. FREE EMAIL ACCOUNT FREE DISK SPACE FREE UNIX ACCOUNT

5. FREE E-MAIL ACCOUNT, FREE DISK SPACE, FREE UNIX ACCOUNT

6. Strange disk free space/used space...


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software