Date: Tue, 30 Nov 1999 12:44:00 -0600 From: Dan Nelson <dnelson@emsphone.com> To: Stephen McKay <syssgm@detir.qld.gov.au> Cc: Warner Losh <imp@village.org>, freebsd-hackers@FreeBSD.ORG, matt@csis.gvsu.edu Subject: Re: Human readable df Message-ID: <19991130124400.A59749@dan.emsphone.com> In-Reply-To: <199911300958.TAA16931@nymph.detir.qld.gov.au>; from "Stephen McKay" on Tue Nov 30 19:58:54 GMT 1999 References: <199911300657.XAA99880@harmony.village.org> <19991129230436.A6501@badmofo> <199911300730.AAA00409@harmony.village.org> <199911300958.TAA16931@nymph.detir.qld.gov.au>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Nov 30), Stephen McKay said: > 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 Just set BLOCKSIZE to your preferred unit. $ BLOCKSIZE=1M df Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/da2s2a 7893 759 6502 10% / /dev/da0s1e 51161 40922 6146 87% /io3 /dev/da1s1e 43997 32111 8366 79% /io4 procfs 0 0 0 100% /proc ( / is 7.8 gig, /io3 is 51 gig ) -- Dan Nelson dnelson@emsphone.com 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?19991130124400.A59749>