![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| check cpu usage | gholdbhurg | Shell Programming and Scripting | 3 | 03-25-2008 11:06 AM |
| disk usage | rrs | Shell Programming and Scripting | 1 | 04-13-2007 04:48 AM |
| disk usage | karthikosu | UNIX for Dummies Questions & Answers | 2 | 06-29-2006 04:48 PM |
| Disk Usage | lewisoco | UNIX for Dummies Questions & Answers | 3 | 05-09-2006 09:44 PM |
| Disk usage (Mac OS 10.4) | H1tokori | UNIX for Dummies Questions & Answers | 5 | 12-05-2005 07:37 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Check the Disk usage Programmatically
Hi all,
Do we have anyway to get the freediskspace for within a C program? I need functionality similar to 'df -h' -> which gives the % of utilization... Otherwise, if we go and use 'system ("df -h /home/myhome/")', do we have any way of capturing the output into a string and parse the string to get the % of utilization? -Sri |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|