[NTLUG:Discuss] total drive size

Kenneth Loafman ken at lt.com
Wed Mar 12 10:42:54 CST 2003


Bishop, Cass wrote:
> Is there a command I can use to find out the total amount of disk space
> available to Linux on a machine.  I have many machines and documentation is
> sparse.  I would like to be able to run a command against each server and
> find out total disk space (used and unused) on the server.

/sbin/fdisk -l

will list the partition tables and let you see if there are any foreign 
partitions.  VMware 'raw' drives do not show up under df, for example.

...Ken




More information about the Discuss mailing list