any good way to find out which process is running on which CPU, how long it

Hi Allany good way to find out which process is running on which CPU, how long it took, how many threads it has forked, which thread went to which CPU, etc. .RPSMessage was edited by: RajeshPS
[227 byte] By [RajeshPS] at [2007-11-26 8:53:59]
# 1

> Hi All

> any good way to find out which process is running on

> which CPU, how long it took, how many threads it has

> forked, which thread went to which CPU, etc. .

Because the scheduler moves threads from CPU to CPU all the time, that would be a lot of information to store. I don't know any easy way to gather it.

Under Solaris 10, you could write a dtrace script that noted every time one of the processes thread was enqueued or dequeued on a cpu and post-process that.

That's probably the best way.

--

Darren

Darren_Dunham at 2007-7-6 22:49:15 > top of Java-index,Solaris Operating System,Solaris 10 Features...