higher loads.
Disk Space
Along with system load, it is important to keep an eye on the amount of free
hard drive space that your computer has remaining. It is easy to do this,
mainly by using the df command, as follows:
Click here to view code image
matthew@seymour:~$ df
Just using the command alone returns this output:
Click here to view code image
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 14421344 6584528 7104256 49% /
none 2020124 348 2019776 1% /dev
none 2027840 2456 2025384 1% /dev/shm
none 2027840 220 2027620 1% /var/run
none 2027840 0 2027840 0% /var/lock
none 2027840 0 2027840 0% /lib/init/rw
/dev/sda6 284593052 147323812 122812752 55% /home
Here you can see each drive as mounted on your system, as well as the used
space, the available space, the percentage of the total usage of the disk, and
where it is mounted on your system.
Unless you are good at doing math in your head, you might find it difficult to
work out exactly what the figures mean in megabytes and gigabytes, so it is
recommended that you use the -h switch to make the output human-readable,
like this:
Click here to view code image
matthew@seymour:~$ df –h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 14G 6.3G 6.8G 49% /
none 2.0G 348K 2.0G 1% /dev
none 2.0G 2.4M 2.0G 1% /dev/shm
none 2.0G 220K 2.0G 1% /var/run
none 2.0G 0 2.0G 0% /var/lock
none 2.0G 0 2.0G 0% /lib/init/rw
/dev/sda6 272G 141G 118G 55% /home
Disk Quotas
Disk quotas enable you to restrict the usage of disk space either by users or by