From owner-freebsd-newbies Thu Aug 9 3:35:25 2001 Delivered-To: freebsd-newbies@freebsd.org Received: from cindrpmx1.corp.harris.com (cindrpmx1.corp.harris.com [137.237.241.23]) by hub.freebsd.org (Postfix) with ESMTP id 89FC537B403 for ; Thu, 9 Aug 2001 03:35:19 -0700 (PDT) (envelope-from rpotts@harris.com) Received: by cindrpmx1.corp.harris.com with Internet Mail Service (5.5.2653.19) id ; Thu, 9 Aug 2001 06:35:12 -0400 Message-ID: <95B669A7D872D41182A600508BDFFB8C01BECD6B@mlbmx7.ess.harris.com> From: "Potts, Ross" To: 'Cynic' , Brendan McAlpine , freebsd-newbies@freebsd.org Subject: RE: Question About DU Date: Thu, 9 Aug 2001 06:35:01 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Try du -k. That's what works on my solaris machines. -----Original Message----- From: Cynic [mailto:cynic@mail.cz] Sent: Wednesday, August 08, 2001 9:40 PM To: Brendan McAlpine; freebsd-newbies@freebsd.org Subject: Re: Question About DU :: $ man du :: The du utility displays the file system block usage for each file = argu=AD :: ment and for each directory in the file hierarchy rooted in each = directo=AD :: ry argument. If no file is specified, the block usage of the = hierarchy :: rooted in the current directory is displayed. If the -k flag is = speci=AD :: fied, the number of 1024-byte blocks used by the file is displayed, = oth=AD :: erwise getbsize(3) is used to determine the preferred block size. = Par=AD :: tial numbers of blocks are rounded up. ... :: -h "Human-readable" output. Use unit suffixes: Byte, Kilobyte, :: Megabyte, Gigabyte, Terabyte and Petabyte At 03:23 8/9/2001, Brendan McAlpine wrote the following: --------------------------------------------------------------=20 >How does the DU command measure disk space? Does it return results in = 1K >block files? > >ie., in the following example > >bash-2.01$ du -s mrtg >3199 mrtg > >Does this mean that my mrtg folder is 3199K big? > >TIA > >Brendan > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-newbies" in the body of the message=20 ------end of quote------=20 cynic@mail.cz ------------- And the eyes of them both were opened and they saw that their files were world readable and writable, so they chmoded 600 their files. - Book of Installation chapt 3 sec 7=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message