- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Trapping system calls using ptrace
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
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
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-29-2009 09:02 AM
06-29-2009 09:02 AM
Trapping system calls using ptrace
Thanks in advance for your help :-)
--
Shaan.
- Tags:
- ttrace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2009 09:10 AM
06-29-2009 09:10 AM
Re: Trapping system calls using ptrace
ptrace/strace that you are used to with Linux and other OS is called tusc on HP-UX
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.10/
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2009 11:22 AM
06-29-2009 11:22 AM
Re: Trapping system calls using ptrace
If you need to use ttrace(2) or ptrace(2), you may have to invent your own debugger.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2009 10:34 PM
06-29-2009 10:34 PM
Re: Trapping system calls using ptrace
BTW I want to write my own tracer using ptrace according to my requirement. I know tusc is doing the same, but I don't think tusc is supported for older versions before 11i(I hope tusc is written on top of ttrace). I can go for ttrace, again the same problem since ttrace is not supported for older versions. I need similar kind of API which works for older versions. ptrace is meant for that, but I am not sure that the child processes gives us(to parent process) signal when they are calling syscalls. Then we cannot have control on child processes when they are making calls to syscalls.
Thanks in advance for your help :-)
--
Shaan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2009 12:04 AM
06-30-2009 12:04 AM
Re: Trapping system calls using ptrace
Which is? If you want to use ptrace(2) or old OS versions, these aren't supported.
tusc has been around for some time. Try looking for old versions.