Hi James,
What I'm looking for in a while true loop to see amount fopen calls for
a certain pid
while true
do
cmd for amount fopen call for certain pid dtrace script
sleep 60
done
or dtrace script with same loop
Gr Anne
Op 12/23/11 1:58 PM, James Carlson schreef:
Anne Adema wrote:
Hi
Does anyone has a dtrace script which determine in a life system the
amount of open files per process id in a Non Global Zone.
In general, dtrace allows you to look at *events* as they occur. It's
not so good at summarizing system state at a point in time.
GZ> lsof -z<zonename> -p pid
Does not give the right output.
ls /proc/<pid>/fd | wc -l gives not the open files per process id.
Both of those work fine for me. It might help if you can describe what
you see that's wrong with the output of those sorts of commands.
Otherwise, it will probably be hard to determine what sort of solution
might help you.
--
With regards,
Ir. A. Adema BSc
e-mail: aron.ad...@gmail.com or
a...@famadema.com
GSM: +31 6 55687405
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org