nv-l

Re: AIX Disk Usage

1998-12-18 12:03:04
Subject: Re: AIX Disk Usage
From: Chris Cowan <chris.cowan AT 2ND-WAVE DOT COM>
To: nv-l AT lists.tivoli DOT com
Date: Fri, 18 Dec 1998 12:03:04 -0500
"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>