[NTLUG:Discuss] total drive size

Steve Baker sjbaker1 at airmail.net
Wed Mar 12 10:20:04 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.

Check out 'df'.  You can run 'df' remotely on other machines
using 'ssh' or 'rsh'.
---------------------------- Steve Baker -------------------------
HomeEmail: <sjbaker1 at airmail.net>    WorkEmail: <sjbaker at link.com>
HomePage : http://www.sjbaker.org
Projects : http://plib.sf.net    http://tuxaqfh.sf.net
            http://tuxkart.sf.net http://prettypoly.sf.net
-----BEGIN GEEK CODE BLOCK-----
GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M-
V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++
-----END GEEK CODE BLOCK-----




More information about the Discuss mailing list