You can look at disk names and the space available on each disk.
Take a look at the disk space available on your system. The df command tells you what filesystems there are on the system and how much space is currently available for them.
The output of df depends on what type of UNIX system you use. On a BSD system, you see something like the following:
% df Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t3d0s0 89383 76272 4181 95% / /dev/dsk/c0t3d0s3 217671 168675 27236 86% /usr /dev/dsk/c0t3d0s5 497478 202322 245416 45% /usr/local /dev/dsk/c0t3d0s4 96455 40011 46804 46% /home
In this listing, each filesystem is listed on a separate line. For each filesystem, the listing shows:
The name of the device associated with the filesystem. For example, for /home, the device is /dev/dsk/c0t3d0s4. (In general, you should never have to concern yourself with this.)
The total amount of space on the disk. For example, the /home filesystem has a total of 96,455 kilobytes.
The amount of space that is currently used. For example, on /home, 40,011 kilobytes of the disk are being used.
The amount of space that is still free. On /home, 46,804 kilobytes are free.
The percentage of the filesystem that is currently filled
The name of the filesystem
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access