Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2001 19:05:21 -0400
From:      Jim Conner <jconner@enterit.com>
To:        Peter <fbsdq@yahoo.com>
Cc:        drewt@writeme.com, freebsd-questions@freebsd.org
Subject:   Re:du - It Doesn't Add Up?
Message-ID:  <5.1.0.14.0.20010510185531.01e07020@mail.enterit.com>
In-Reply-To: <SAK.2001.05.10.slrmbgfc@support10>

next in thread | previous in thread | raw e-mail | index | archive | help
One thing you can try is:

du -ch /etc/*

This will give you a more verbose listing of where it is getting its 
numbers.  Also, if /etc/ is a seperately mounted filesystem, unmount it and 
see if there is anything in there.  Although, generally, if there is 
something there in the unmounted medium it should show up in the parent 
filesystem (ie usually root) but it is worth a try...at least eliminate 
that possiblity and check.

- Jim

At 04:23 PM 5/10/2001 -0600, Peter wrote:
>You probably have a large file under /etc
>do a :
>cd /etc
>find ./ -name -size +200k
>
>to find all files larger thank 200k, then you'll see the 'culprit' file.
>
>On 05/10/2001 4:06:19 PM, Drew Tomlinson is quoted as saying:
>
>
>. . . .|I'm checking disk usage with the du command.  I'm getting the 
>following
>. . . .|output:
>. . . .|
>. . . .|117 Blacksheep# du -hc /etc
>. . . .| 97K    /etc/defaults
>. . . .| 32K    /etc/periodic/daily
>. . . .| 11K    /etc/periodic/weekly
>. . . .|3.0K    /etc/periodic/monthly
>. . . .| 47K    /etc/periodic
>. . . .|4.0K    /etc/ssh
>. . . .|9.0K    /etc/ssl
>. . . .|2.0K    /etc/gnats
>. . . .| 34K    /etc/isdn
>. . . .|1.0K    /etc/kerberosIV
>. . . .|148K    /etc/mail
>. . . .| 44K    /etc/mtree
>. . . .|10.0K   /etc/namedb
>. . . .|5.0K    /etc/ppp
>. . . .|1.0K    /etc/skel
>. . . .| 17K    /etc/uucp
>. . . .| 12M    /etc
>. . . .| 12M    total
>. . . .|
>. . . .|If I add up the numbers, I only get a total of 462K, not 12M as 
>indicated.
>. . . .|What am I missing?
>. . . .|
>. . . .|Thanks,
>. . . .|
>. . . .|Drew
>. . . .|
>. . . .|
>. . . .|To Unsubscribe: send mail to majordomo@FreeBSD.org
>. . . .|with "unsubscribe freebsd-questions" in the body of the message
>
>
>
>www.nul.cjb.net
>www.FreeBSD.org
>
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message


- Jim
- NOTJames
- jconner@enterit.com

- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | Today's errors, in contrast:                                           |
- | Windows - "Invalid page fault in module kernel32.dll at 0032:A16F2935" |
- | UNIX    - "segmentation fault - core dumped"                           |
- | Humans  - "OOPS, I've fallen and I can't get up"                       |
- --------------------------------------------------------------------------
- (To view this properly use a non-proportional font in your MUA)


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




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