Friday, August 12, 2005

can I look at the thread for a executable run?

==============================================================================
TOPIC: can I look at the thread for a executable run?

>I have a multiple-thread application on solaris 10, wonder how can I
>tell from os level how many threads this app is running?

"ps -o nlwp" (and more so you can tell which process is running with that
many lwps)

ps -o lwp -p <pid>

0 Comments:

Post a Comment

<< Home