Wee Yeh Tan wrote:
> It is definitely possible to do so with DTrace by capturing events
> when threads goes on/off cpu then record the data onto an aggregate
> indexed by zonename.
> 
> IIRC, prstat uses microstate by default as of S10 so it is not sampling.
But it iterates thru /proc at some sample rate, so it will miss short 
lived processes.


> 
> Depending on what you are doing, you might want to look at acct(1M).
> 
> On Wed, Nov 12, 2008 at 4:32 PM, Davide Vanoni <[EMAIL PROTECTED]> wrote:
>> Andrew wrote:
>>> Are you aware of prstat -Z ?
>>> Not quite the same, but maybe it gives you what you need?
>>>
>> Thanks for your reply! Unfortunately prstat ignores anything that happened 
>> between samples. I need something that maintains information about cpu 
>> utilization between samples (for short-lived processes). The problem is to 
>> take precisely this kind of information by zones. Maybe it is possible to do 
>> it with dtrace but I don't know how. Thanks for your suggestions!
>> --
>> This message posted from opensolaris.org
>> _______________________________________________
>> dtrace-discuss mailing list
>> dtrace-discuss@opensolaris.org
>>
> 
> 
> 


-- 
-----------------------------------------------------------------------
        ______         Joseph Balenzano
        /_____/\       ISV Engineering
       /____ \\ \      Sun Microsystems Inc.
      /_____\ \\ /     [EMAIL PROTECTED]
     /_____/ \/ / /    Phone/Fax 203.653.4186
    /_____/ /   \//\
    \_____\//\   / /
     \_____/ / /\ /
      \_____/ \\ \
       \_____\ \\
        \_____\/
----------------------------------------------------------------------
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to