298
Figure 42-2. GNOME System Monitor
42.3. File Systems
The
command reports the system's disk space usage. If you type the command
df
the output looks similar to the following:
Filesystem
/dev/hda2
/dev/hda1
/dev/hda3
none
By default, this utility shows the partition size in 1 kilobyte blocks and the amount of used and avail-
able disk space in kilobytes. To view the information in megabytes and gigabytes, use the command
. The
argument stands for human-readable format. The output looks similar to the following:
df -h
-h
Filesystem
/dev/hda2
/dev/hda1
/dev/hda3
none
In the list of partitions, there is an entry for
memory file system.
The
command displays the estimated amount of space being used by files in a directory. If you
du
type
at a shell prompt, the disk usage for each of the subdirectories will be displayed in a list. The
du
grand total for the current directory and subdirectories will also be shown as the last line in the list. If
you do not want to see the totals for all the subdirectories, use the command
grand total for the directory in human-readable format. Use the
options.
1k-blocks
Used Available Use% Mounted on
10325716
2902060
15554
8656
20722644
2664256
256796
Size
Used Avail Use% Mounted on
9.8G
2.8G
6.5G
15M
8.5M
5.9M
20G
2.6G
16G
251M
0
250M
/dev/shm
Chapter 42. Gathering System Information
6899140
30% /
6095
59% /boot
17005732
14% /home
0
256796
0% /dev/shm
30% /
59% /boot
14% /home
0% /dev/shm
. This entry represents the system's virtual
du --help
at a shell prompt,
df
to see only the
du -hs
command to see more
Need help?
Do you have a question about the ENTERPRISE LINUX 3 and is the answer not in the manual?