Does anyone have any recommendations on how to capture using DTrace?
Basically our client is tuning a Web Server 7 instance, and theApp team has asked the sys admin to
observe the Acceptor threads. They want to see how many they have, how
many are active, what those are doing, and how many are left available.
I gave them the following Dtrace one-liners, and they said that it was close, but not what they
wanted.
dtrace -n 'fbt:ip:tcp_acceptor_hash_*: / pid == <pid of jvm> /
{
printf("\n%s[%d]\t %s \t %
s",execname,pid,probefunc,probename);}'
dtrace -n 'fbt:ip:tcp_acceptor_hash_*: / pid == <pid of jvm> /
{ @num[probefunc] = count(); }'
I also said he maybe able to get some information of the TCP stack with
ndd -get /dev/tcp tcp_acceptor_hash
But the sys admin didn't think that info helped.
Another recommendation I gave them was to view the Acceptor thread's
status from the WS7 side via "perfdump".
--
|

|
Robert S.
Horrigan
Partner Engagement Architect
Sun
Microsystems, Inc.
3501 Quadrangle Blvd, Suite 150
Orlando, Florida 32819 US
Phone (877)866-8573
Fax (407)380-1143
Email [EMAIL PROTECTED]
|
|

|
This message contains confidential and proprietary information of the sender, and is intended
only for the person(s) to whom it is addressed. Any use distribution, copying, or disclosure
by any other person is strictly prohibited. If you have received this message in error,
please notify the e-mail sender immediately, and delete the original message without making a copy.
|
_______________________________________________
dtrace-discuss mailing list
[email protected]