• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1715
  • Last Modified:

truss command on hp

Is there a command equivalent to truss on hp? (truss is available in
solaris). For eg. if a process is hanging, I want to find out on which
system call, the process is hanging?
0
meerak
Asked:
meerak
  • 4
  • 4
  • 2
1 Solution
 
ahoffmannCommented:
found a strace command somewhere at HP site (sorry can't remember the URL)
0
 
chris_calabreseCommented:
Tools similar to truss called 'trace' and 'tusc' can be found in the HP-UX Porting and Archive Centre (http://hpux.cs.utah.edu/)
0
 
ahoffmannCommented:
0
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

 
meerakAuthor Commented:
Thanks for the info. But looks like we need to boot with a different
kernel to get the trace command working. Is there any other way
of finding out on what what system call, a process is hanging?
The machine which we use is used by many people and we do not
want to reboot with a different kernel.
0
 
chris_calabreseCommented:
No, this capability is not available in HP-UX without kernel mods.  That's because HP-UX is the only major Unixen without /proc.
0
 
ahoffmannCommented:
sound like you're using HP-UX 10.x, I know from 8.x and 9.x that trace works without any modifications, just use it.
chris, do you know which versions need these changes? I'm interested too.
0
 
chris_calabreseCommented:
10.x definitely needs kernel mods, and I'm pretty certain on 11.x.

I'm surprised about 8.x and 9.x, since junk ususally gets added to the kernel, not deleted.  On the other hand, these versions are very old and are not Y2K certified except under some very special conditions, so I'd be even more surprised if meerak is using them.
0
 
meerakAuthor Commented:
Iam using hp 10.20.
0
 
ahoffmannCommented:
for me this is just a note in my docs, thanks .
0
 
chris_calabreseCommented:
Then your only choice is http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/trace-1.6/ and its resulting kernel mods.  Sorry.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now