Constipated Ibex
Roy Smith
rasmith1959 at gmail.com
Fri Apr 10 12:00:52 UTC 2009
Franz Waldmüller wrote:
> Nigel Henry schrieb:
>
>> On Thursday 09 April 2009 17:39, Brian McKee wrote:
>>
>>> On Wed, Apr 8, 2009 at 11:42 PM, Matthew Flaschen
>>>
>>> <matthew.flaschen at gatech.edu> wrote:
>>>
>>>> Brian McKee wrote:
>>>>
>>>>> On Wed, Apr 8, 2009 at 1:02 PM, Pete Clapham <pc44062 at gmail.com> wrote:
>>>>>
>>>>>> Hi, all --
>>>>>>
>>>>>> My server using Intrepid appears to have a constipated root directory.
>>>>>> Here is the output from the df -h. As you can see, the / drive is 100%
>>>>>> used.
>>>>>>
>>>>> find is your friend.....
>>>>>
>>>>> sudo find / -type f -size +50000k -exec ls -lh {} \; |less
>>>>>
>>>> That will only find single files larger than 50000. It won't find, for
>>>> instance, a folder full of 1 MB log files.
>>>>
>>>> I would just do:
>>>>
>>>> du / --max-depth=3
>>>>
>>>> It will take a while to run, but should give you a clearer picture.
>>>>
>>> Granted - I should have explained it better. I just figured if he's
>>> out in excess of a hundred gig than there must be some rather large
>>> files involved....
>>>
>>>
> a grat tool to analyse the file system is ncdu (run from the command line)
> install:
> sudo apt-get update && sudo apt-get install ncdu
> to run type
> ncdu /
> with the arrow and enter keys you can
> I don't know if root privileges are required to scan /
> wish you luck
>
Pretty neat little program. I did notice that if you have other user
accounts on your system, then you would need root privileges in order to
get an accurate scan of the drive.
--
Roy Smith
Ubuntu 8.10 Intrepid Ibex
Registered Linux User #488144
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090410/5b876114/attachment.sig>
More information about the ubuntu-users
mailing list