Is there a tool to trace system calls?
Yes, for HP-UX 11.x, the tusc command provides system call tracing
functionality. It is available from:
Tusc is made available by the good graces of Chris Bertin of HP.
For earlier HP-UX releases, the situation is murkier. A system call
tracing program called trace is available from Interworks, as well as the
Liverpool archive. However, this program only works on some systems
(mostly 700s). The author, Kartik Subbarao. has declared trace obsolete
in favor of tusc, and has discontinued further development and bug fixes.