Test this on an instance of the program that you don't mind aborting first, but you could try:
kill -17 <pid>
to stop it and
kill -19 <pid>
to restart.
If you're running the program from the KornShell command line, you can stop it with a Ctrl-Z (if it's not trapping it itself) and restart it with the "fg" command.
If you don't know what I meant by <pid>, don't try the first method.
Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L
Putting the job in a suspended state with control-z. By starting the job in the background, then bringing to the foreground and using ctrl-z is the only way I can think of unless you want to wrap it in a C program that handles signals.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.