Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 03-26-2009, 02:17 PM   #1
LQ Newbie
Registered: Sep 2008
Distribution: SuSE Linux 10.1
Posts: 7

Rep: Reputation: 0
Identify what child threads/PIDs are doing

We have Novell's zLinux running on our mainframe IFL LPAR. We have installed WebSphere and have some performance issues as compared to its Windows counterpart. I start a linux STRACE on the WebSphere PID and ask for child process activity.
Viewing the STRACE output file there are many child processes initiated during the execution of one WebSphere Application transaction. BTW, there is only one WebSphere transaction running at a time to keep the STRACE output file from being clutered with other stuff.
Is tere a way to find out what process each child process is executing?
Some are obvious such as GETTIMEOFDAY, etc. There are others which have some response times longer than others. Those are the ones we are interested in.
Help from anyone will be greatly appreciated.
Old 03-26-2009, 04:22 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
One of the better sources of performance data is the sar data collector. If you run that every ten minutes then you can use the sar utility to create reports showing all sorts of performance characteristics. It certainly can be used to find processes that are performing poorly along with the command(s) that they are running. The sar utility can be used interactively or it can be run automatically to create reports based on the data collected by the sar data collector.

Last edited by stress_junkie; 03-26-2009 at 04:23 PM.
Old 03-27-2009, 07:13 AM   #3
LQ Newbie
Registered: Sep 2008
Distribution: SuSE Linux 10.1
Posts: 7

Original Poster
Rep: Reputation: 0
We have used that process.
When WebSphere is processing a transaction it initiates many sub processesor child PIDs. These are not seen with SAR or the PS command. They will show up when using STRACE -f. Some of these child processes have futex, FUTEX_WAIT, FUTEX_WAKE, SYS_7, SYS_195, etc in the trace output. We are trying to determine is any of these systems call could be causing our performance problems.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read "identify" button press event, or state of "identify" blue led with IPMI? iav Linux - Server 0 01-27-2009 01:13 PM
How to kill a Child and all its subsequent child process in C shayer009 Programming 3 12-04-2007 12:40 AM
Are threads allocated different PIDs then its parent's PID? piyush.kansal Programming 11 07-09-2007 08:02 PM
Java threads listed using kill -3 does not contain all threads found using ps -auxww coneheed Programming 2 11-14-2005 08:57 AM
Killing a child process from another child marri Programming 6 10-01-2004 07:08 PM > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 07:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration