Exit code

can anyone tell what the exit status - 137 belongs in unix shell scripting.

Which component in particular is giving 137? The shell or a tool called inside the shell script? If the shell, which shell is being used? Maybe post a bit more of the output using code tags, thanks.

which shell?

When process exits with exit code 137 it usually means it was terminated by being sent a SIGKILL signal.

When a process exits with an exit code greater than 128, the command:

kill -l exit_code

will tell you what signal is associated with that exit code on your system. Signal numbers can vary from OS to OS, but SIGKILL being signal #9 is pretty close to universal.