on 06-27-2007 12:15 AM
Is it possible to get a report of the most CPU consuming Threads and to which application belongs each thread?
I have Solution Manager Diagnostics installed and also Willy Introscope 7.1 but Willy was an initiative from other team so is not integrated yet with Diagnostics, nevertheless I have access to Willy's Workstation and I only can see General Overview of Threads no details about which thread is consuming most of the CPU time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
please note that the server has an application thread pool like all j2ee servers I am familiar with. After a thread has finished let's say serving the HTTP request from application A the thread will be reused to serve application B.
Thus, you can determine at any given time by thread dump which application is consuming which thread (SAP note 743191 describes it very well as stated above) However any general statistics of mapping threads to specific application cannot be done.
An interesting piece of information is that in the newer releases the SAP JVM has the feature of printing in the thread dump the CPU consumption from each thread together with the current stacktrace.
HTH
Peter.
An interesting piece of information is that in the
newer releases the SAP JVM has the feature of
printing in the thread dump the CPU consumption from
each thread together with the current stacktrace.
You ´re talking about SAP VM 5.0?
We have likewise issues (BI-Java) and it´s pretty cumbersome to find out, what´s going on on the VM if it´s "stuck".
--
Markus
Check Note 742395 - Analyzing High CPU usage by the J2EE Engine
and for AIX the corresponding note
Note 743191 - Analyzing High CPU usage by the J2EE Engine: AIX
This is a one-time snapshot analysis. If you want to this permantenly you will need to implement Solution manager Diagnostics + Wily Introscope.
--
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The J2EE that I want to inspect is running over an IBM AIX 5.3 system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you use Windows you can use free Process Explorer http://www.microsoft.com/technet/sysinternals/utilities/ProcessExplorer.mspx
For first step you get most CPU consuming processes in the tree, then make right click on it and choose properties, there is Threads tab in it. There you can see all threads of this process and have possibility to sort it by CPU usage.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.