Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Something is eating my disk space
- Date: Wed, 28 Jun 2006 12:30:32 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: Re: [tlug] Something is eating my disk space
- References: <44A0D38C.8020109@example.com> <44A0E3E4.7080302@example.com> <20060627095847.41b7232a.jep200404@example.com>
- Organization: The XEmacs Project
- User-agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b27 (linux)
>>>>> "Jim" == Jim <jep200404@example.com> writes: Jim> Keith Bawden <isdj@example.com> wrote: >> find / -mount -type f -size +100M -ls >> find / -mount -size +100M -exec du -h {} \; Jim> When run as a peon user, it will likely generate many errors, Jim> when find tries to access directories that it does not have Jim> permission to access, so one would likely need to redirect Jim> stderr to /dev/null. "find" is the wrong tool for the job, anyway. The problem is disk usage, so you want "du", as Josh suggested. Once you've isolated the subtree that's filling up, a direct "ls -la" will show any problem files. (You want the -a mostly in case you've been hacked. Sane programs don't write megabytes to dot-files. Did I say "sane"? Oops, OK, if you've got spamassassin, Mozilla, or any GNOME program installed, you might as well be hacked from this point of view....) du doesn't count inodes, which can be a problem, as somebody mentioned, but that will generate a different message (yes, I have the Serder Argic T-shirt). IIRC on most Unix filesystems inodes do not come out of "user space", anyway; they're accounted for by the (usually) huge overestimate of space reserved for root. Jim> Most web interfaces would thwart even experts. Of course! That's what they're designed to do. Keep n00bs from hurting themselves, and experts from having any control over their systems at all. ;-) -- School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Ask not how you can "do" free software business; ask what your business can "do for" free software.
- Follow-Ups:
- Re: [tlug] Something is eating my disk space
- From: bruno raoult
- References:
- [tlug] Something is eating my disk space
- From: Dave M G
- Re: [tlug] Something is eating my disk space
- From: Keith Bawden
- Re: [tlug] Something is eating my disk space
- From: Jim
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Something is eating my disk space
- Next by Date: [tlug] linux and zarus?
- Previous by thread: Re: [tlug] Something is eating my disk space
- Next by thread: Re: [tlug] Something is eating my disk space
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links