- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Is there a way to get performance data at the thre...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2003 10:42 AM
тАО06-17-2003 10:42 AM
Is there a way to get performance data at the thread level? Can Glance or MWA do this?
Is there some other way? We are trying to get this information from a Sun Solaris server (8).
10 points to any good answer.
Thank you
Gino
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2003 10:55 AM
тАО06-17-2003 10:55 AM
SolutionYou can get an idea of transaction wallclock time if you add ARM calls and use transaction tracker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2003 11:07 AM
тАО06-17-2003 11:07 AM
Re: Is there a way to get performance data at the thread level?
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2003 11:25 AM
тАО06-17-2003 11:25 AM
Re: Is there a way to get performance data at the thread level?
Problem is being able to drill down low enough to capture CPU info with millions of transactions per second, as processes bounce from CPU to CPU executing, and then accurately parse the tome in a real time manner.
Found this on the internet though:
"...TNF execution traces mainly serve as a debugging aid during software development and for performance tuning. TNF is especially useful for debugging and tuning multi-threaded programs because a TNF probe automatically records thread-specific information (thread IDs, process IDs, etc.) in the event records written to a trace file..."
http://developers.sun.com/solaris/articles/tnf.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 06:57 AM
тАО06-18-2003 06:57 AM
Re: Is there a way to get performance data at the thread level?
Gino-
In Solaris, there's a -L option to the ps command that will break up the process time by LWP (lightweight process). For example:
> ps -p 581
PID TTY TIME CMD
581 ? 1:03 nscd
> ps -Lp 581
PID LWP TTY LTIME CMD
581 1 ? 0:00 nscd
581 2 ? 0:00 nscd
581 3 ? 0:00 nscd
581 4 ? 0:25 nscd
581 5 ? 0:00 nscd
581 12 ? 0:00 nscd
581 7 ? 0:05 nscd
581 8 ? 0:07 nscd
581 9 ? 0:25 nscd
581 13 ? 0:00 nscd
581 14 ? 0:00 nscd
So in this example, there are 14 LWP comprising nscd, and 4 & 9 are doing most of the work.
The caveat here is that not all threads will be LWP that are visible to the kernel. For instance, ps -L on a java JVM will show you the persistent therads within the JVM, but may not show you user threads created by the application, depending on your JVM and its configuration.
I should note that my example was run on SUN OS 5.7. I'm assuming ps works the same in 8.
Hope this helps,
Mark