TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:7616] Root Process Control [was Re: [TCLUG:7556]]



> I have several processes that run in the background on the system, but
> I'd like to suspend them when making unattended backups every night.  I
> so far have not been able to find the way to do this -- I can't even do
> this manually as root.  What do others do as far as suspending processes
> and resuming them for backups??

Have you tried 'kill -STOP <pid>; <run backup>; kill -CONT <pid>'?
(or the variation: 'killall -STOP <processname>; <run backup>; killall -CONT
<processname>)

I've used that to stop my rc5 client (when you need a completely dedicated
system for playing Quake ;-)

-- 
 _  _  _  _ _  ___    _ _  _  ___ _ _  __   Bus error (Passengers 
/ \/ \(_)| ' // ._\  / - \(_)/ ./| ' /(__   dumped) 
\_||_/|_||_|_\\___/  \_-_/|_|\__\|_|_\ __)                            
[ Mike Hicks | http://umn.edu/~hick0088 | mailto:hick0088@tc.umn.edu ]