nv-l

Re: How to get a list of files that are in use? -Reply

1998-06-05 15:11:02
Subject: Re: How to get a list of files that are in use? -Reply
From: Maciej Podoski <Maciej.Podoski AT THEMUTUALGROUP DOT COM>
To: nv-l AT lists.tivoli DOT com
Date: Fri, 5 Jun 1998 15:11:02 -0400
I was referring to lsof.  Looks like it's something worth trying out.  Thanx

Maciej




NV-L AT UCSBVM.ucsb DOT edu on 06/05/98 03:58:39 PM
Please respond to NV-L AT UCSBVM.ucsb DOT edu @ Internet


To:     NV-L AT UCSBVM.ucsb DOT edu @ Internet
cc:

Subject:        Re: How to get a list of files that are in use? -Reply

lsof  gives command, pid, owner, path and filename, and alot of other
stuff I don't know what it all is,  for everything on the system if you give
the command no switches, or you can select program names, ports,
hosts,  etc..

Whereas lsof is a snapshot, monitor (top), is dynamic.  You can type "top
10" at the command prompt, and you get a nice listing of your top 10
processes, ordered by relative cpu usage (in %).  You also get total cpu
usage, real and virtual  memory usage.

Don't know about Performance Toolbox.

Hal

>>> Daniel Casey <jistdc1 AT FIREMAIL.JBHUNT DOT COM> 06/05/98 10:18am
>>>
Are you asking does lsof display open files or the Performance Toolbox?




Maciej Podoski <Maciej.Podoski AT THEMUTUALGROUP DOT COM> on 06/05/98
11:23:06 AM

Please respond to Discussion of IBM NetView and POLYCENTER
Manager on
      NetView et alia <NV-L AT UCSBVM.ucsb DOT edu>

To:   NV-L AT UCSBVM.ucsb DOT edu
cc:    (bcc: Daniel Casey/Corporate/JBHunt)
Subject:  Re: How to get a list of files that are in use?




Does it actually list open files by name or does it just give one lump
figure, say 200MB of files open and in use?






NV-L AT UCSBVM.ucsb DOT edu on 06/05/98 12:04:19 PM
Please respond to NV-L AT UCSBVM.ucsb DOT edu @ Internet


To:     NV-L AT UCSBVM.ucsb DOT edu @ Internet
cc:

Subject:        Re: How to get a list of files that are in use?

Do you have Performance Toolbox for AIX available? This is one of the
best
performance monitoring tools I have seen. Very configurable. Will monitor
CPU, files, file systems, kernal activity, syscalls, any process running!

A worthwhile investment. If you have multiple AIX platforms, you can
load
the PTX agent and monitor systems remotely.




From: Maciej.Podoski AT THEMUTUALGROUP DOT COM on 06/04/98 11:53 AM
AST


Please respond to NV-L AT UCSBVM.UCSB DOT EDU

To:   NV-L AT UCSBVM.UCSB DOT EDU
cc:
Client:
Subject:  How to get a list of files that are in use?




I've got a problem with some memory leaks on our NetView box, I think
they're somehow related to the GUI as they don't occur when the GUI is
down.  I've also noticed that the memory allocated to files sometimes
jumps
by 60% or so after having been stable
for a day and am curious if there is an AIX command which will tell me
what
files are open and how much memory is allocated to each?  Is there such
a
thing?  I'm running AIX 4.1.5
Thanx