On Dec 23, 2011, at 14:20, Chris Ridd <chrisr...@mac.com> wrote:

> 
> On 23 Dec 2011, at 12:58, James Carlson wrote:
> 
>> 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.
> 
> Is the global fds[] array any use here? It isn't clear if it is the complete 
> set of fds open by the process at any point in time, or just the set that 
> dtrace has observed the process accessing.
> 

Lacking looping facilities, I don't think you'll get too far that way. It's 
just not the right tool for the job, if the job doesn't revolve around events.


_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to