- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- truss command in HP-UX 11i
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2009 06:04 PM
тАО02-04-2009 06:04 PM
truss command in HP-UX 11i
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2009 06:41 PM
тАО02-04-2009 06:41 PM
Re: truss command in HP-UX 11i
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2009 07:58 PM
тАО02-04-2009 07:58 PM
Re: truss command in HP-UX 11i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2009 08:04 PM
тАО02-04-2009 08:04 PM
Re: truss command in HP-UX 11i
The ftp link is: ftp://ftp.hp.com/pub/catia/Utils/tusc7.4.shar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2009 04:23 PM
тАО02-05-2009 04:23 PM
Re: truss command in HP-UX 11i
ftp://ftp.cup.hp.com/dist/networking/tools/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2009 04:45 PM
тАО02-05-2009 04:45 PM
Re: truss command in HP-UX 11i
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2009 04:56 PM
тАО02-05-2009 04:56 PM
Re: truss command in HP-UX 11i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2009 03:53 AM
тАО02-06-2009 03:53 AM
Re: truss command in HP-UX 11i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2009 09:00 PM
тАО02-10-2009 09:00 PM
Re: truss command in HP-UX 11i
/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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 02:56 AM
тАО02-11-2009 02:56 AM
Re: truss command in HP-UX 11i
(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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2009 05:13 PM
тАО02-12-2009 05:13 PM
Re: truss command in HP-UX 11i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2009 08:16 PM
тАО02-12-2009 08:16 PM
Re: truss command in HP-UX 11i
This shows it is a binary.
What is PID 7956?
ps -fp 7956
tusc -aef -w all -r all -o /tmp/truss.out -p 7956
Please move the -p with the options: -aefp
What does /home/tmp/tusc do? It should give help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2009 04:54 PM
тАО02-15-2009 04:54 PM
Re: truss command in HP-UX 11i
This shows it is a binary.
What is PID 7956?
ps -fp 7956
I am using PID 8076 as a sample now
PID 8076 is :
/opt/java1.3/bin/../bin/PA_RISC2.0/native_threads/java -Dengine
there is no help file found
app:/home/tmp# man tusc
No manual entry for tusc.
and same problem with the below command :
app:/home/tmp# tusc -aef -w all -r all -o /tmp/truss.out -aefp 8076
sh: tusc: not found.
app:/home/tmp#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2009 11:39 PM
тАО02-15-2009 11:39 PM
Re: truss command in HP-UX 11i
You need to put tusc.1 in the proper place, probably /usr/share/man/man1/.
Or you can format it directly with:
nroff -man tusc.1 | col -x | more -s
>same problem with the below command:
tusc -aef -w all -r all -o /tmp/truss.out -aefp 8076
Replace -aef at the beginning with -aefp and remove -aefp at the end. Also remove -w and -r, just to see what you get:
/home/tmp/tusc -aefp -o /tmp/tusc.out 8076
Also what happens if you invoke with no options: /home/tmp/tusc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2009 05:38 AM
тАО04-30-2009 05:38 AM
Re: truss command in HP-UX 11i
Here is a link you can download tusc 7.9
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.9/
1. Place this zip file in "/tmp/ng" folder
2. unzip the file "#gunzip filename"
3. it will unzip and place a .depot file on the same location.
4. #swinstall -s file.depot
5. Complete the installation process.
5. Find the path of tusc by "whereis tusc"
6. Change "#cd /usr/local/bin" and run the command using the same sysntax of command.