Ubuntu 9.10 System Monitor (gnome-system-monitor) tab File Systems has several columns labeled: Device, Directory, Type, Total, Free, Available, Used. What command line commands would produce the Free and Available results as they show different results?

link|improve this question

52% accept rate
Why should a perfectly valid Super User question with an accepted answer be moved to another SE site? – Diago Feb 12 '11 at 19:41
feedback

2 Answers

up vote 1 down vote accepted

The command line utility that shows this data is df. It reports the total, available and used space. The “free” column in the Gnome system monitor appears to be the subtraction of the used space from the total space, which I don't think df can do for you.

The difference between available and free comes from the reserved space that exists on some filesystems. By default, 5% of each native (ext2, ext3 or ext4) filesystem is reserved to root. This is done so that the system will continue to function normally for a while even if a user fills up the disk. This is useful on OS filesystems, especially the one that contains /var, but not particularly on filesystems used for data such as /home. You can change the amount (down to 0 if you like) or the privileged user with the tune2fs command (e.g. tune2fs -r 0 /dev/mapper/foo-home to let you fill up your home volume).

link|improve this answer
feedback

For disk space, doesn't the command "df" list the used and available space on the hard drive partitions? Also similar is "du" which lists the usage of a folder or disk.

link|improve this answer
df shows the Available space but where does one find the Free results? – C.W.Holeman II Oct 25 '10 at 16:43
Sorry, i'm at work, so only Windows 7 machines available for now, but isn't that the df -f command? or perhaps the Disk Usage Analyzer is more what you are looking for for a GUI view? (Applications>Disk Usage Analyzer) – Brian Oct 25 '10 at 17:00
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.