Operating System - HP-UX
1751691 Members
4867 Online
108781 Solutions
New Discussion юеВ

Re: truss command in HP-UX 11i

 
ng_7
Regular Advisor

truss command in HP-UX 11i

Dear Experts

Can please tell me the following solaris command in HP-UX 11i ?

truss -aef -w all -r all -o /tmp/truss.out -p 100

thanks

regards
ng
14 REPLIES 14
Shinji Teragaito_1
Respected Contributor

Re: truss command in HP-UX 11i

You need to install tusc from

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

All of the parameters you mentioned are the same.

% tusc -aef -w all -r all -o /tmp/tusc.out -p 100
ng_7
Regular Advisor

Re: truss command in HP-UX 11i

hi, not able to go to the link, would you mind to upload to this forum for me. thanks
Venkatesh BL
Honored Contributor

Re: truss command in HP-UX 11i

rick jones
Honored Contributor

Re: truss command in HP-UX 11i

If all those URLs fail, you can try:

ftp://ftp.cup.hp.com/dist/networking/tools/
there is no rest for the wicked yet the virtuous have no pillows
ng_7
Regular Advisor

Re: truss command in HP-UX 11i

have try to download from ftp://ftp.hp.com/pub/catia/Utils/tusc7.4.shar

and rename tusc7_4_shar.mht to tusc7_4.shar

and I try install and get error as below.

sh tusc7_4.shar
tusc7_4.shar[19]: Syntax error at line 19 : `&' is not expected.

please help to see the uploaded file

thanks
rick jones
Honored Contributor

Re: truss command in HP-UX 11i

That URL downloaded and unshared for me just fine. I suspect something is wrong in the download - for example, what gave it that odd addition to the filename... make certain the download is in binary mode not ascii or some other mode.
there is no rest for the wicked yet the virtuous have no pillows
Tom Henning
Trusted Contributor

Re: truss command in HP-UX 11i

Looks like when it was downloaded it was translated into HMTL, for example the greater than symbols ('>') were changed into the phrase '>'. Try the download again using a different browser, or at least do not save as html.
What is it that possesses otherwise sane individuals to change something just because it has not been changed in a while?
ng_7
Regular Advisor

Re: truss command in HP-UX 11i

hi, have install the file, and I can see the file being extracted to /home/tmp as shown below. but I still got error
/home/tmp/tusc -aef -w all -r all -o /tmp/truss.out -p 7956
sh: tusc: not found.

what is the problem. the number afer -p is it process id ?

thanks



app:/home/tmp# sh tusc7_4.shar
x - tusc [compressed]
linking - truss
x - tusc.1 [compressed]
x - sstep [compressed]

app:/home/tmp#

-r-xr-xr-x 1 root sys 4900 Oct 13 2002 sstep
lrwxrwxrwx 1 root sys 4 Feb 11 11:45 truss -> tusc

-rwxr-xr-x 1 root sys 987136 Oct 13 2002 tusc
-rw-r--r-- 1 root sys 22518 Oct 13 2002 tusc.1
-rw-r----- 1 root sys 998231 Feb6 tusc7_4.old
-rw-rw-rw 1 root sys 847913 Feb 11 tusc7_4.shar
drwxrwxrwx 4 root sys 1024 Jul 31 2008 zip
Dennis Handly
Acclaimed Contributor

Re: truss command in HP-UX 11i

>sh: tusc: not found.

(I'm not sure why that isn't an absolute path?)
What does "file /home/tmp/tusc" show?

>the number after -p is it process id?

There is no relation between -p (print PIDs) and what follows. But it is probably the PID.
See the man page.