Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does AIX allow you to place a process on HOLD?

Status
Not open for further replies.

WiccaChic

Technical User
Jan 21, 2004
179
US
I am remembering being able to do this on an AS400 and it was very handy. Is there some analagous function in the AIX world?
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top