![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| free some space in file system | fu4d | UNIX for Dummies Questions & Answers | 6 | 04-11-2008 01:27 AM |
| how to get the file system size | lucaxvu | High Level Programming | 1 | 02-13-2008 02:17 PM |
| file system size | magasem | AIX | 7 | 02-06-2008 12:21 AM |
| How to get free disk space size in C/C++ program( Solaris system) | yidu | High Level Programming | 3 | 08-07-2007 02:26 AM |
| File system size change | jvinn | UNIX for Advanced & Expert Users | 9 | 05-11-2005 03:13 PM |
|
|
Submit Tools | LinkBack | Thread Tools | 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. |
| Forum Sponsor | ||
|
|
|
|||
|
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 |
| Tags |
| linux |
| Thread Tools | |
| Display Modes | |
|
|