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?
LVL 1
meerakAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ahoffmannCommented:
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.