home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!lhdsy1!nntpserver.chevron.com!abds9.aberdeen.chevron.com!emjga
- From: emjga@abds9.aberdeen.chevron.com (Matthew Garrett)
- Newsgroups: comp.unix.ultrix,chevron.unix
- Subject: Kill Session Manager on a Ultrix workstation
- Keywords: kill session manager
- Message-ID: <1992Dec18.142356@abds9.aberdeen.chevron.com>
- Date: 18 Dec 92 14:23:56 GMT
- Sender: news@nntpserver.chevron.com (USENET News System)
- Reply-To: emjga@aberdeen.chevron.com
- Organization: Chevron (UK) Ltd.
- Lines: 20
- Bcc: emjga@aberdeen.chevron.com
- Disclaimer: The opinions expressed are mine; not those of
- the company I work for.
-
- I would like to be able to kill the Session Manager and all its
- sup-process without having to click on the Session manager window
- and select the quit option.
-
- Currently I have a small script called xsmkill to do this.
- #!/bin/csh
- set x = `ps -aux | grep $USER | grep dxsession | awk '{print $2}'`
- kill -9 $x
-
- Does any body have a better way of doing this.?
-
- My Hardware/software is:
- DecStation 5000/25
- Ultrix 4.2a
-
- --
- Matthew Garrett
- Chevron (UK) Ltd.
- Ninian House, Crawpeel Road, Altens, Aberdeen, AB1 4LG, Scotland.
- Internet: emjga@aberdeen.chevron.com Phone: +44 224 242652
-