Exit code 137 on a backup

Can some one tell me what it means to get a exit code od 137 from a cron scheduled backup on HP-UX. Also if you know of a book that has the HP-UX codes that would be great.

Thanks

From the man page of fbackup: (no 137)
RETURN VALUE
fbackup returns one of the following values:

  0  upon normal completion.

  1  if it is interrupted but allowed to save its state for possible
     restart.

  2  if any error conditions prevent the session from completing.

  4  if any warning conditions are encountered.

  If warnings occur, the operator should check the fbackup logs to
  verify the sanity of the backup.

=============
But normally there is some more text or a message in the /var/adm/syslog/syslog.log file.
Does the command run from the command line?
What version of HP-UX is it and what are you running?

Cheers
Rene

One process in HP-UX was killed for unknown reason, but our application shell caught the return code 137. Do you know why it's killed? It should not be killed by someone manually, we can see it from the return code.
Thanks!

Did it generate a core dump?

Normally the exit code includes the signal that caused the termination..

    WIFSIGNALED(stat)
          Evaluates to a non-zero value if status  was  returned
          for a child process that terminated due to the receipt
          of a signal.

    WTERMSIG(  stat)
          If the value of  WIFSIGNALED(stat) is  non-zero,  this
          macro  evaluates  to  the  number  of  the signal that
          caused the termination of the child process.

So you would need to look up the macro WTERMSIG on your system in the /usr/include directory and decode 137 to deduce the signal number. Then look up the signal number in sys/signal.h or similar. Look for things like SIGSEGV, SIGKILL etc.

I have a sinking feeling that the macro will say subtract 128 to get the signal number, leaving 9 which is SIGKILL. Which is normally an external intervention and somebody doing "kill -9 pid".

WTERMSIG does ((status) & 0x7f).
When status is 137:
137 & 127 = 9.
asm/signal.h:#define SIGKILL 9

It's a SIGKILL.