Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!sundc!rlgvax!dennis From: dennis@rlgvax.UUCP (Dennis Bednar) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Re: Access to user process info. Message-ID: <334@rlgvax.UUCP> Date: Wed, 14-Jan-87 18:25:06 EST Article-I.D.: rlgvax.334 Posted: Wed Jan 14 18:25:06 1987 Date-Received: Thu, 15-Jan-87 04:11:47 EST References: <1327@brl-adm.ARPA> <165@hqda-ai.UUCP> <263@spectrix.UUCP> <587@mcgill-vision.UUCP> Organization: Computer Consoles Inc, Reston VA Lines: 14 Summary: SVr2 has fuser(1M) command that lists pids of processes that are holding a particular file (including /dev/tty's) open Xref: mnetor comp.unix.wizards:596 comp.unix.questions:656 In article <587@mcgill-vision.UUCP>, mouse@mcgill-vision.UUCP (der Mouse) writes: > In article <99@osupyr.UUCP>, dusan@osupyr.UUCP (Dusan Nedeljkovic) writes: > > Briefly: I need to get access to information about a certain (or > > more generally, ALL) processes that are active and bound to a > > terminal. If you have the fuser(1M) command, it will do what you need. It works nicely. Given the output of fuser (the numerical process ids), you can get more information by running: ps -p25645 assuming the output of of fuser had been 25646. -- -Dennis Bednar {decvax,ihnp4,harpo,allegra}!seismo!rlgvax!dennis UUCP