[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ProgSoc] View thread CPU utilisation on Solaris



> -----Original Message-----
> From: owner-progsoc@xxxxxxxxxxxxxxxxxx [mailto:owner-
> progsoc@xxxxxxxxxxxxxxxxxx] On Behalf Of Jay Banyer
> Sent: Monday, 29 May 2006 2:06 PM
> To: progsoc@xxxxxxxxxxxxxxxxxx
> Subject: [ProgSoc] View thread CPU utilisation on Solaris
> 
> Hello,
> 
> I'd like to display per-thread CPU utilisation on a Solaris machine
> (SunOS 5.8 and 5.9).
> 
> I know that there are different kinds of threads and
> light-weight-processes on Solaris, but don't really appreciate all the
> details.
> 
> What I actually want is to check if a process running on a multi-cpu
> machine is running at 100% of one CPU due to a single thread being busy.
> 

You could try 'dtrace' with the 'sched' provider... Maybe overkill though.

http://www.sun.com/software/solaris/howtoguides/dtracehowto.jsp

Cheers,

Nigel



-
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@xxxxxxxxxxxxxxxxxxx
If you are having trouble, ask owner-progsoc@xxxxxxxxxxxxxxxxxx for help.