robison@ames.arc.nasa.gov (Bob Robison) (12/29/89)
In article <3320@brazos.Rice.edu> maer@curie.nmr.lpc.ethz.ch (Matthias Ernst) writes: >X-Sun-Spots-Digest: Volume 8, Issue 208, message 11 of 19 > >I recently wrote a program which automatically lowers the priority of >processes with long computing times. The program monitors all active [... some stuff deleted...] >work interactively. Therefore I want to limit the number of background >processes every user is allowed to start. This can be done very easily by >sending a SIGSTOP signal to every background process exceeding this On an almost related topic..... What is the most convenient way (if any) to save the state of a stopped process to be restarted again after a scheduled system shutdown. We have an unfortunate combination of circum- stances here: We have jobs that may run in the background for several days, and we sometimes have occasion to shutdown our machine to re-configure hardware (i.e. move the array processor elsewhere). At this point I have no way of stopping a job that has run for many hours while I turn power off, then restarting it where it left off. Is there something in the manual I'm missing? Please reply via email to the address below. Bob Robison - Southwest Research Institute, Electromagnetics Div. robison@dfsun1.electro.swri.edu {sun!texsun, gatech!petro, uunet!cs.utexas.edu}!swrinde!dfsun1!robison
seth@sirius.ctr.columbia.edu (Seth Robertson) (12/30/89)
In article <4030@brazos.Rice.edu> dfsun1!robison@ames.arc.nasa.gov (Bob Robison) writes: >X-Sun-Spots-Digest: Volume 8, Issue 230, message 3 of 13 >On an almost related topic..... What is the most convenient way (if any) >to save the state of a stopped process to be restarted again after a >scheduled system shutdown. Why to do a checkpoint, of course. I have a program which can do this under limited circumstances. (It currently doesn't work with Sun4s (needs some assembler code for a better setjmp) and you have to reopen/relseek any and all previously opened files) For details, contact me. -Seth Robertson seth@ctr.columbia.edu