Re: Filesystem at 100% capacity, what files are large?

From: Dr. David Kirkby (drkirkby_at_ntlworld.com)
Date: 08/01/03


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


Relevant Pages

  • Re: Urgently Required two study guides for SUN Examin
    ... > It's a shame you can't get these sort of things from Sun as free PDF ... there are 1711) might be useful to those use Solaris. ... I guess its going to be geared towards AIX, ... Dr. David Kirkby Ph.D ...
    (comp.unix.solaris)
  • Re: Can one stop attachments to prevent DOS attack?
    ... > Dr. David Kirkby wrote: ... >> Updates' are going in my Virus folder, not spam, so when I look in the ... Do you know how on a Solaris box? ...
    (comp.sys.sun.admin)
  • Re: The best modem supported by solaris
    ... "Dr. David Kirkby" wrote: ... > ehab wrote: ... >> the best for using with solaris OR if I have not know any other models ... personally never configured a modem on a Solaris x86 box. ...
    (comp.unix.solaris)
  • Re: The best modem supported by solaris
    ... "Dr. David Kirkby" wrote: ... > ehab wrote: ... >> the best for using with solaris OR if I have not know any other models ... personally never configured a modem on a Solaris x86 box. ...
    (comp.sys.sun.admin)
  • Re: Which server to practice on?
    ... Dr. David Kirkby wrote in message news:... ... Just SS20's are very cheap. ... But they aren't supported on Solaris next, since the sun4m platform has ...
    (comp.unix.solaris)