![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to get free disk space size in C/C++ program( Solaris system) | yidu | High Level Programming | 4 | 01-30-2009 12:49 AM |
| free some space in file system | fu4d | UNIX for Dummies Questions & Answers | 6 | 04-11-2008 04:27 AM |
| how to get the file system size | lucaxvu | High Level Programming | 1 | 02-13-2008 06:17 PM |
| file system size | magasem | AIX | 7 | 02-06-2008 04:21 AM |
| File system size change | jvinn | UNIX for Advanced & Expert Users | 9 | 05-11-2005 06:13 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Free size for File System
How to find the free size currently FileSystem has, on the disk mounted?
I know 'df' lists all the mounted disks, but I am interested to know details for the filesystem, in which currently I am working. |
|
||||
|
The command df is the one which you want. df does more that just list the mounted file systems, it also tells you where they are mounted, the file type, size of the mounted partition and how much of the partition is used.
For example 'df -h' on my computer gives the following Filesystem Size Used Avail Use% Mounted on /dev/hda1 18G 5.6G 12G 34% / tmpfs 248M 0 248M 0% /dev/shm This says that hda1 has 5.6 GB free |
|
||||
|
Problem is, I cannot determine some path, is 'mounted on' what.
I already tried df -k. It gives me a complete list. I want to know something, if I am in /abc/def/ghi then on which filesystem it is mounted, how much free space, % utilized & so on... only for the filesystem consisting /abc/def/ghi. uname -a gives following output - AIX machinename 2 5 0038967C4C00 |
![]() |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|