LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 03-26-2009, 02:17 PM   #1
jmdjr
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.
Thanks
Joe
 
Old 03-26-2009, 04:22 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
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
jmdjr
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.
Joe
 
  


Reply


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


All times are GMT -5. The time now is 05:52 PM.

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