UNIX SERVER

How would you tell the amount of disk space on a UNIX server.
robsterAsked:
Who is Participating?
 
jaranConnect With a Mentor Commented:
df -k will show you the available disk space in kilobytes, for the mounted volumes.

If there is unpartitioned or unmounted space, you'll have to investigate utilities such as prtvtoc on the character special devices under /dev/rdsk to determined what other devices are lurking around.
0
 
ozoCommented:
df
0
 
GtristCommented:
With SCO OpenServer, you could type dfspace. This will give you a listing of disk space by filesystem. If you want the disk space for each disk you can use the divvy command. divvy will show you the boot device by default. You can also enter the following to get the second hard drive:
divvy /dev/rhd1a to get the second drives information. Divvy will show the number of blocks in each filesystem, and at the bottom of the display it will show you the total number of blocks on the hard drive. Multiply the number of blocks by 1K and it will give you your disk space for that particular drive.
0
All Courses

From novice to tech pro — start learning today.