[Wolves] / filling up
Martyn
martyn at mcits.co.uk
Thu Jul 8 18:29:39 BST 2004
Hi ,
You can also use Ducks!
What i Hear you screem
add into your .profile the following
alias ducks= 'du -cks * | sort -rn | head -11'
Then Cd to a few suspect directories such as /var/spool/mail and type
ducks this
will then give you a total of space used and which files consume most
disk space.
I read this last year from a book called linux server hacks by o'reilly
and it has never left my admin toolkit.
It's got loads of other admin tips and tricks in!
Cheers
Martyn
>Hi,
>You can search for files using the find command, which has loads of
>options
>Try
>find / -size +5000k (which will show files larger that 5Mb)
>Take a look at
>http://www.geocities.com/tipsforlinux/articles/21.html
>Gary
-----Original Message-----
From: wolves-bounces at mailman.lug.org.uk
<mailto:wolves-bounces at mailman.lug.org.uk>
[mailto:wolves-bounces at mailman.lug.org.uk] On Behalf Of Wayne Morris
Sent: 08 July 2004 12:52
To: Wolverhampton Linux User Group
Subject: [Wolves] Space on /
My webserver has just started refusing to open the GUI, due to the /
partition being full.
I can get onto a command line and have been having a bit of a look for
anything I can delete but tmp is now empty and am a bit stuck /home /var are
mounted elsewehere so its not them.
Is there a command I can issue to either locate large files (and then I can
manually delete them)?
cheers
Wayne
_______________________________________________
Wolves LUG mailing list
Homepage: http://www.wolveslug.org.uk/
Mailing list: Wolves at mailman.lug.org.uk <mailto:Wolves at mailman.lug.org.uk>
Mailing list home: http://mailman.lug.org.uk/mailman/listinfo/wolves
_______________________________________________
Wolves LUG mailing list
Homepage: http://www.wolveslug.org.uk/
Mailing list: Wolves at mailman.lug.org.uk <mailto:Wolves at mailman.lug.org.uk>
Mailing list home: http://mailman.lug.org.uk/mailman/listinfo/wolves
More information about the Wolves
mailing list