Re: Filesystem at 100% capacity, what files are large?
From: Dr. David Kirkby (drkirkby_at_ntlworld.com)
Date: 08/01/03
- Next message: Barbie LeVile: "Re: where can I get the lastest wu-ftpd?"
- Previous message: Rich Teer: "Re: Poor Sparc LX overwhelmed by Solaris 9"
- In reply to: Oscar del Rio: "Re: Filesystem at 100% capacity, what files are large?"
- Next in thread: Alan Coopersmith: "Re: Filesystem at 100% capacity, what files are large?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 01 Aug 2003 20:53:00 +0100
Oscar del Rio wrote:
>
> Dr. David Kirkby wrote:
> >>I was wondering if anyone had a script to find files with a directory
> >>and through the sub-directory path that are of a large size or over a
> >>specified size so that I can avoid these problems ahead of time in
> >>the future.
> >
> >
> > find / -size +50000000b
> >
> > will find files over 50,000,000 bytes. In fact, if you replace the 'b'
> > by 'k', you can find files in kb, rather than bytes, which is a bit
> > more useful I would admit.
>
> I don't know what you are running but in Solaris there is no 'b'
> or 'k' option in "find -size", only 'c' for bytes.
Sorry, I must have take that from a GNU man page. Solari's find seems
to silently ignore the b. I would have thought it created an error,
but obviously not.
-- Dr. David Kirkby, Senior Research Fellow, Department of Medical Physics, University College London, 11-20 Capper St, London, WC1E 6JA. Tel: 020 7679 6408 Fax: 020 7679 6269 Internal telephone: ext 46408 e-mail davek@medphys.ucl.ac.uk
- Next message: Barbie LeVile: "Re: where can I get the lastest wu-ftpd?"
- Previous message: Rich Teer: "Re: Poor Sparc LX overwhelmed by Solaris 9"
- In reply to: Oscar del Rio: "Re: Filesystem at 100% capacity, what files are large?"
- Next in thread: Alan Coopersmith: "Re: Filesystem at 100% capacity, what files are large?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|