Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!zehntel!hplabs!sri-unix!gwyn@BRL-VLD.ARPA From: gwyn@BRL-VLD.ARPA Newsgroups: net.unix-wizards Subject: Re: Style question - how to kill process based on user name / tty? Message-ID: <12495@sri-arpa.UUCP> Date: Wed, 15-Aug-84 18:54:07 EDT Article-I.D.: sri-arpa.12495 Posted: Wed Aug 15 18:54:07 1984 Date-Received: Sat, 18-Aug-84 01:15:18 EDT Lines: 6 From: Doug Gwyn (VLD/VMB)The cleanest way is STILL to run "ps" (with appropriate options) and scan for the combination that you are interested in (e.g. matching UID & CTTY). That way, when the kernel data structures change (ours do every once in a while) your "killer program" will still work.