System Administration

Re: on solaris os have truss command, HP-UX in a similar command not ?

 
anonys
Advisor

on solaris os have truss command, HP-UX in a similar command not ?

on solaris os have truss command, HP-UX in a similar command not ?
root@test # truss ls
execve("/usr/bin/ls", 0xFFBFFBBC, 0xFFBFFBC4) argc = 1
resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
resolvepath("/usr/bin/ls", "/usr/bin/ls", 1023) = 11
stat("/usr/bin/ls", 0xFFBFF998) = 0
open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
stat("/usr/openwin/lib/libsec.so.1", 0xFFBFF4B8) Err#2 ENOENT
stat("/lib/libsec.so.1", 0xFFBFF4B8) = 0
resolvepath("/lib/libsec.so.1", "/lib/libsec.so.1", 1023) = 16
open("/lib/libsec.so.1", O_RDONLY)
1 REPLY 1

Re: on solaris os have truss command, HP-UX in a similar command not ?

Yes,

Download and install tusc from here:

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

HTH

Duncan

I am an HPE Employee
Accept or Kudo