Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!super.upenn.edu!hyper.lap.upenn.edu!george From: george@hyper.lap.upenn.edu (George Zipperlen) Newsgroups: comp.sys.apollo Subject: Re: Suspending processes Message-ID: <2863@super.upenn.edu> Date: 18 Dec 87 22:14:00 GMT References: <179@idacom.UUCP> Sender: news@super.upenn.edu Reply-To: george@apollo.lap.upenn.edu (George Zipperlen) Organization: University of Pennsylvania, Language Analysis Project Lines: 31 Keywords: DC DS suspend Summary: "sigp -c 120027" can do it In article <179@idacom.UUCP> danny@idacom.UUCP (Danny Wilson) writes: >I am aware of the commands to Suspend and Continue processes >using the DS and DC DM commands. However, does anyone >out there know how to do it if a pad to that process >does not exist? > >i.e. How do you suspend a print server running in background >given its process name or UID?? > >Thanks >Danny Wilson >IDACOM Electronics alberta!teletron!idacom!danny > danny@idacom.uucp for suspend try (in any shell) sigp [ proc_name | -uid xxx.xxx ] -c 120027 for continue try sigp [ proc_name | -uid xxx.xxx ] -c 12002b I know this doesn't EXACTLY duplicate the effect of the dmcmds "ds" and "dc", but it does put the process in a wait state. BTW I got the numbers from "/sys/ins/fault.ins.c" -------------------------------------------------------------------------------- George Zipperlen george@apollo.lap.upenn.edu Language Analysis Project george@hyper.lap.upenn.edu University of Pennsylvania Generic Disclaimer Philadelphia, Pa. Cute saying --------------------------------------------------------------------------------