Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 1999 19:58:54 +1000
From:      Stephen McKay <syssgm@detir.qld.gov.au>
To:        Warner Losh <imp@village.org>
Cc:        freebsd-hackers@freebsd.org, matt@csis.gvsu.edu, syssgm@detir.qld.gov.au
Subject:   Re: Human readable df 
Message-ID:  <199911300958.TAA16931@nymph.detir.qld.gov.au>
In-Reply-To: <199911300730.AAA00409@harmony.village.org> from Warner Losh at "Tue, 30 Nov 1999 00:30:45 -0700"
References:  <199911300657.XAA99880@harmony.village.org> <19991129230436.A6501@badmofo> <199911300730.AAA00409@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, 30th November 1999, Warner Losh wrote:

> Filesystem    Size   Used    Avail Capacity Mounted on
> /dev/da0s1a  62.0M  31.0M  26.1M    54%     /
> /dev/da0s1e   192M   167M  9.22M    95%     /usr
> /dev/da0s1d  61.4M  11.3M  45.2M    20%     /var
> /dev/da0s1f   288M   247M  18.4M    93%     /usr/local
> /dev/da0s1g  2.17G  1.88G   122M    94%     /home
> procfs       4.00K  4.00K     0B   100%     /proc
> /dev/sd1a     990M   376M   534M    41%     /jaz
> /dev/da2s4c  1.94G  1.72G  68.0M    96%     /hawk
> /dev/da3s4a  3.93G  1.95G  1.67G    54%     /u

Add a 'df -h' if you like, but to me this looks like an unreadable jumble
of letters and digits.  For the same reason, I don't like graphs with
dynamic scaling.

If anything, I want a 'df -m' option that does this:

Filesystem 1M-blocks Used  Avail Capacity Mounted on
/dev/da0s1a     62     31     26    54%     /
/dev/da0s1e    192    167      9    95%     /usr
/dev/da0s1d     61     11     45    20%     /var
/dev/da0s1f    288    247     18    93%     /usr/local
/dev/da0s1g   2170   1880    122    94%     /home
procfs           0      0      0   100%     /proc
/dev/sd1a      990    376    534    41%     /jaz
/dev/da2s4c   1940   1720     68    96%     /hawk
/dev/da3s4a   3930   1950   1670    54%     /u

When it comes time, I'll want 'df -g' too.  Pity 'df -t' is already taken.

Stephen.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911300958.TAA16931>