Skip to content

Hints and tips for running Hercules on UNIX

John P. Hartmann edited this page Dec 27, 2013 · 1 revision

Terminating a hanging Hercules

Some errors can cause Hercules to hang. You will have to terminate Hercules if you cannot resolve the hang somehow.

Control-c is not likely to do much, because Hercules has a signal handler attached that will try to shut down the operating system.

From a second session you can issue kill -9 <pid>, but an easier way is to use control-z to stop the process. At that point you can kill the job via the shell's job control.

HHC01465I 0:000E subchannel 0:0005 detached
^Z
[1]+  Stopped                 ./goherc
[john@fb91 ~/src/z/osj]$ kill -9 %1
Clone this wiki locally