- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how does attaching tusc to a process effect that p...
Operating System - HP-UX
1753792
Members
7557
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО02-08-2001 10:57 AM
тАО02-08-2001 10:57 AM
how does attaching tusc to a process effect that process?
I've noticed when looking at a process( that is behaving
badly) with tusc that as soon as I attach tusc to the process
the CPU consumption of that process drops dramtically.
Apparently tusc serializes the process. Can someone
here tell me exactly what's happening if possible?
The process is multi-threaded.
badly) with tusc that as soon as I attach tusc to the process
the CPU consumption of that process drops dramtically.
Apparently tusc serializes the process. Can someone
here tell me exactly what's happening if possible?
The process is multi-threaded.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2001 12:04 PM
тАО02-08-2001 12:04 PM
Re: how does attaching tusc to a process effect that process?
I can not give all the specifics on what happens, but here is what I know anyway.
Tusc intercepts all calls from that application, usually making it much slower. When the application performs a task like "malloc", tusc intercepts the call, performs the call for the application, and passes the memory space back to the application. It is supposed to be a middle-man for the application allowing for debugging applications.
Perhaps tusc operates at a low system priority it does not take up as much CPU, but more likely it is because tusc is intercepting all calls, logging each call, then performing the call, and logging the result, then giving the called resource back to the application it does not need that much CPU :)
Regards,
Shannon
Tusc intercepts all calls from that application, usually making it much slower. When the application performs a task like "malloc", tusc intercepts the call, performs the call for the application, and passes the memory space back to the application. It is supposed to be a middle-man for the application allowing for debugging applications.
Perhaps tusc operates at a low system priority it does not take up as much CPU, but more likely it is because tusc is intercepting all calls, logging each call, then performing the call, and logging the result, then giving the called resource back to the application it does not need that much CPU :)
Regards,
Shannon
Microsoft. When do you want a virus today?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2001 12:35 PM
тАО02-13-2001 12:35 PM
Re: how does attaching tusc to a process effect that process?
Richard,
Here's a note about tusc that you might find helpful:
Tusc
Uses ptrace() and ttrace() (what debuggers use) to gather it's statistics. This was created for HPUX 11 by Chris Bertin.
Strength: As compared to "trace", it prints out a little more useful info with some system calls and is able to trace signals. Kartik's (original author of trace) assessment of tusc as compared to trace: "Tusc is a better program overall than trace. One of its biggest benefits is that tusc can display the contents of buffers passed to system calls, whereas my trace program could not."
Weakness: It is probably as bad as some other tools in it's skewing of timing and possibly program behavior due to the context switching per traced item (with every traced signal and event).
Hope this helps,
Brian Hackley
Here's a note about tusc that you might find helpful:
Tusc
Uses ptrace() and ttrace() (what debuggers use) to gather it's statistics. This was created for HPUX 11 by Chris Bertin.
Strength: As compared to "trace", it prints out a little more useful info with some system calls and is able to trace signals. Kartik's (original author of trace) assessment of tusc as compared to trace: "Tusc is a better program overall than trace. One of its biggest benefits is that tusc can display the contents of buffers passed to system calls, whereas my trace program could not."
Weakness: It is probably as bad as some other tools in it's skewing of timing and possibly program behavior due to the context switching per traced item (with every traced signal and event).
Hope this helps,
Brian Hackley
Ask me about telecommuting!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP