1834354 Members
1944 Online
110066 Solutions
New Discussion

process tracing

 
SOLVED
Go to solution
Josh_13
Super Advisor

process tracing

i'm having a problem witha a piece of softeware that i know works on hpux 10.20 because o different machine has it running. however, on the one i am using, the program that is necesary in order to get tha machine backed up won't run.

we thought it waas a problem with portmapper since it woulnd't return rpcinfo. we cleared that up.

i need to know if there's a way to trace a program, get to to print to screen what happenes as it starts up once you execute the command. if there's a way to do this someone here who knows the program will be able to fix the problem

it should be similar to the solaris truss command

thanx

-Josh
6 REPLIES 6
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: process tracing

Hi:

You probably want to use tusc which is available from any of the HP-UX Porting Centre's: http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.2/


If you have the source, you can, of course, do much better tracing and debugging.



If it ain't broke, I can fix that.
Sanjay_6
Honored Contributor

Re: process tracing

Hi Josh,

Here are some suggestions in this forum question posted earlier.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x3d9fee3e323bd5118fef0090279cd0f9,00.html

Hope this helps.

Regds

Josh_13
Super Advisor

Re: process tracing

nancy rippey


May 07, 2001 17:18 PM GMT [ 10 pts ]

--------------------------------------------------------------------------------
tusc and lsof are comprable to truss.
Tusc can be found at:
http://www.pugcentral.org/howto/truss.htm
points you to http://hpux.cs.utah.edu to pick up a copy of tusc.
LSOF can be downloaded from
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.48/


even though you didn't make that post in resposne to me i'd like to thank you for it. i just bookmarked the howto page. it will be helpful in the future.
Josh_13
Super Advisor

Re: process tracing

just out of curiosity, is there a newer veriosn of trace than 1.6?

this was hte only trace page that returned form my search,but i don't know if it may have been renamed for a later version.

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/trace-1.6/
Sanjay_6
Honored Contributor

Re: process tracing

Hi Josh,

Doesn't look like there is a newer version,

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/alpha.html

http://hpux.connect.org.uk/hppd/hpux/alpha.html

Hope this helps.

regds
Helen French
Honored Contributor

Re: process tracing

Hi Josh,

I think the latest one is 1.6 version.

Check these sites:

http://hpux.ee.ualberta.ca/hppd/hpux/Sysadmin/trace-1.6

http://hpux.ee.ualberta.ca/hppd/hpux/Sysadmin/tusc-7.0 ( for tusc)

HTH,
Shiju



Life is a promise, fulfill it!