From owner-freebsd-hackers Tue Nov 30 10:44:22 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id B5C6B14E9B for ; Tue, 30 Nov 1999 10:44:20 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id MAA60641; Tue, 30 Nov 1999 12:44:00 -0600 (CST) (envelope-from dan) Date: Tue, 30 Nov 1999 12:44:00 -0600 From: Dan Nelson To: Stephen McKay Cc: Warner Losh , freebsd-hackers@FreeBSD.ORG, matt@csis.gvsu.edu Subject: Re: Human readable df Message-ID: <19991130124400.A59749@dan.emsphone.com> References: <199911300657.XAA99880@harmony.village.org> <19991129230436.A6501@badmofo> <199911300730.AAA00409@harmony.village.org> <199911300958.TAA16931@nymph.detir.qld.gov.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <199911300958.TAA16931@nymph.detir.qld.gov.au>; from "Stephen McKay" on Tue Nov 30 19:58:54 GMT 1999 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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