Parent document is top of "comp.sys.hp.hpux FAQ"
Previous document is "8.11 Why is syslog() call not doing what i want it to?"
Next document is "8.13 How to get C programs automatically generate stack dumps?"

8.12 Is trace on HP-UX?

Trace is available from Interworks ftp site (interworks.org).

For those of you unfamiliar with trace, here's the README:

trace prints out system call (and optionally kernel) traces of programs. It
compiles and installs fairly easily. It should work fine on 700s running HP-UX
9.X, and probably not at all otherwise.

To run the header file generation scripts, you'll need Perl 4.0pl36 or better,
installed as /usr/local/bin/perl.

If you have problems with "too much defining", uncomment HFLAGS in the
Makefile. Older 9.X C compilers had broken a cpp utility.

If you encounter undefined ioctls, just comment them out and send me mail
about them and what version of HP-UX you're running. fixheader will make
sure that nonexistent header files aren't included.

trace needs to be installed setuid root so that users can run it.

The KI code, provided in object format, is copyright Hewlett-Packard. The
software is provided as is, subject to change without notice, and totally
unsupported.

(Thanks to Kartik Subbarao, HP)

Parent document is top of "comp.sys.hp.hpux FAQ"
Previous document is "8.11 Why is syslog() call not doing what i want it to?"
Next document is "8.13 How to get C programs automatically generate stack dumps?"