[NTLUG:Discuss] total drive size
Michael Patrick
michael at techiesplace.com
Wed Mar 12 10:15:24 CST 2003
On Wed, Mar 12, 2003 at 09:59:01AM -0600, 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.
>
> Cass
>
The "df" command is your friend :)
michael at anya:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 182M 106M 67M 62% /
/dev/hda3 5.5G 308M 4.9G 6% /usr
/dev/hdb1 3.0G 75M 2.7G 3% /home
//192.168.0.20/raid 107G 96G 11G 90% /opt
More information about the Discuss
mailing list