nv-l
[Top] [All Lists]

Re: AIX Disk Usage

To: nv-l@lists.tivoli.com
Subject: Re: AIX Disk Usage
From: Chris Cowan <chris.cowan@2ND-WAVE.COM>
Date: Fri, 18 Dec 1998 12:03:04 -0500
Organization: 2nd Wave
Reply-to: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Sender: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
"Giuliotti, J. P." wrote:
>
> A question to the AIX 4.2 gurus who run Netview 4.1.
>
> My file system that houses the OV directory is losing space by the day. How
> can I list the most recently updated files over a certain file size on a
> whole file system? I know this can be done. I'm afraid someone might be
> using my machine for storage because the rate at which I am losing space (on
> a very large file system) is much greater than what normal SNMP collects and
> logging would cause.
>

On any UNIX system (AIX or otherwise) your best choice is find.

You will want to look at the following option flags.    -mtime (to see
when the file was last modified), -xdev (to make sure you do not leave
the filesystem), and -size.

Something like find /usr/OV -mtime ****** -size ***** -xdev -print

This only stratches the surface of what is possible with find.   (Hint:
It gets even better if you know how to xargs with it!!!)

Attachment: chris.cowan.vcf
Description: Card for Chris Cowan

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web