I am not familiar with the hp-ux/ tru64 tree of *nices.
my system:
# uname -a
OSF1 mymachine V5.1 2650 alpha
From what I could find on google:
# ./trussv5
ksh: ./trussv5: cannot execute
# file trussv5
trussv5: COFF format alpha dynamically linked, demand paged
executable or object module not stripped - version 3.11-10
# ./tusc-7.10/tusc
ksh: ./tusc-7.10/tusc: cannot execute
# file ./tusc-7.10/tusc
./tusc-7.10/tusc: PA-RISC1.1 shared executable dynamically
linked -not stripped dynamically linked
trussv5 is the truss version of tru64 v5.
where to go next?
thanks for all -> in the right direction.
I'm not sure what the question is, so my answer may not be what you
want.
PA-Risc and Alpha are two entirely different platforms. PA-Risc is an
HP design, a 32 bit (IIRC) RISC system.
It is the platform for HP-UX as well as linux and netBSD (among
others).
Alpha is a 64 bit RISC platform, originally designed by Digital
Equipment Corporation and is now owned by HP.
Alpha supports Tru64, VMS and Windows NT (3.5x and 4 only, though
Windows 2000 distributions are available).
Your system appears to be an Alpha, running Tru64 version 5.1 (build
2650). I can't figure out what model Alpha, though.
Hans
thanks for answering
why is the trussv5 then not executable on my system?
I guess the magic number is not correct?
and my question was: where to find a "truss" equivalent for my
suystem.
That question is answered for V5.1A and V5.1B on:
http://unix.derkeiler.com/Mailing-Lists/Tru64-UNIX-Managers/2004-02/0134.html
Now I have no idea whether that version of truss would work on a V5.1
system.
If you got the trussv5 executable already on your system from an
associated products cd that belongs to 5.1A or -B then that might
explain why it won't run on 5.1.
Alternatively, this site offers an alternative:
http://support.zeus.com/zws/faqs/2005/09/19/what_is_truce_or_strace
It explains that Tru64 has a command (optionally installed) called
trace which is similar to truss.
I haven't found a reference whether trace is part of the 5.1 kit,
though.
The tusc command is indeed the equivalent under HP-UX.
Hans