Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2001 06:35:01 -0400 
From:      "Potts, Ross" <rpotts@harris.com>
To:        'Cynic' <cynic@mail.cz>, Brendan McAlpine <bmcalpine@macconnect.com>, freebsd-newbies@freebsd.org
Subject:   RE: Question About DU
Message-ID:  <95B669A7D872D41182A600508BDFFB8C01BECD6B@mlbmx7.ess.harris.com>

next in thread | raw e-mail | index | archive | help
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




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