Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!husc6!rice!sun-spots-request From: jim@easby.durham.ac.uk Newsgroups: comp.sys.sun Subject: How do I stop/restart shell's? Keywords: SunOS Message-ID: <8100.8905051003@bylands.durham.ac.uk> Date: 11 May 89 08:55:41 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 13 Approved: Sun-Spots@rice.edu Original-Date: Fri, 5 May 89 11:03:26 BST X-Sun-Spots-Digest: Volume 7, Issue 282, message 14 of 19 I'm trying to stop all (well most) processes on a server so I can do an effective single user dump, then restart them. Sending a SIGSTOP to a csh disconnects, sending it to a su'd shell stop the shell, but then sending a SIGCONT causes a HANGUP after stating the the pgrp has been reset, then reset again. Sending a SIGSTOP then a SIGCONT using /bin/kill works for su'd shell, so SUN must do something in /bin/kill more than just a kill(2) (ULTRIX does just do a kill(2) - nothing fancy in ULTRIX). So can anyone help? Jim. PS - forgot to mention, running 3.4 on a 3/280.