Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!eru!luth!sunic!mcsun!ukc!kl-cs!jonathan From: jonathan@cs.keele.ac.uk (Jonathan Knight) Newsgroups: comp.unix.questions Subject: Re: Stopping and re-starting processes Message-ID: <1194@kl-cs.UUCP> Date: 1 Dec 89 11:24:59 GMT References: <482@agrigene.UUCP> Organization: University of Keele, England Lines: 27 From article <482@agrigene.UUCP>, by overby@agrigene.UUCP (Scott Overby): > We running a Pyramid 98xe with OSx4.0. How or can one, as a superuser, stop > and then re-start processes? I know the owner can perform this by ^Z and > then fg. Two methods for stopping, first get the process number, then type stop from csh, or from any shell kill -STOP e.g. % stop 22328 or % kill -STOP 22328 starting, however is a little tricky. In theory kill -CONT e.g. % kill -CONT 22328 should do the trick, however when I tried it my process got stuck waiting for output. Looks like you might need to make sure that 'stty tostop' is switched off. -- ______ JANET :jonathan@uk.ac.keele.cs Jonathan Knight, / BITNET:jonathan%cs.kl.ac.uk@ukacrl Department of Computer Science / _ __ other :jonathan@cs.keele.ac.uk University of Keele, Keele, (_/ (_) / / UUCP :...!ukc!kl-cs!jonathan Staffordshire. ST5 5BG. U.K.