1752703 Members
5728 Online
108789 Solutions
New Discussion юеВ

Trace command

 
SOLVED
Go to solution
Chris Knight_1
Occasional Advisor

Trace command

I was wondering if HP-UX has a command like the "truss" command in solaris. Where you could trace a PID and re-direct all activity to a specified output file. Pretty handy.
I think in solaris is was like..
truss -a -p "PID" -o /tmp/output.file
something like that. Hopefully hp has something. Tks in adv..Cheers
Ck
4 REPLIES 4
Sanjay_6
Honored Contributor
Animesh Chakraborty
Honored Contributor
Solution

Re: Trace command

hi,
The tusc command is the HP-UX 11.0 equivalent for Sun's truss
command.

You need to download it from
http://us-support.external.hp.com


Thanks
Animesh

Did you take a backup?
Michael Tully
Honored Contributor

Re: Trace command

Hi,

The program you are after is called 'tusc'.
You can get an already compiled version from
the porting centre.

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.0/

The program installs as a depot so all you
have to do is install it through 'swinstall'
There is also a full man page that comes
with it.

HTH
-Michael

Anyone for a Mutiny ?
Chris Knight_1
Occasional Advisor

Re: Trace command

Perfect!! tks.