Path: utzoo!attcan!uunet!cs.utexas.edu!csc.ti.com!ti-csl!tilde.csc.ti.com!pearl!pearl!mikep From: mikep@dirty.csc.ti.com (Michael A. Petonic) Newsgroups: comp.unix.programmer Subject: Re: how to put a program into a .plan file Message-ID: Date: 2 Oct 90 03:55:34 GMT References: <2867@litchi.bbn.com> <376@ra.abo.fi> <4109@rtifs1.UUCP> <38200@eerie.acsu.Buffalo.EDU> <1990Sep29.141154.3546@ibmpcug.co.uk> Sender: news@pearl.dsg.ti.com (System News Administration) Organization: Texas Instruments, Speech Mushrooms. Lines: 23 In-Reply-To: dylan@ibmpcug.co.uk's message of 29 Sep 90 14:11:54 GMT In article <1990Sep29.141154.3546@ibmpcug.co.uk> dylan@ibmpcug.co.uk (Matthew Farwell) writes: >In article <38200@eerie.acsu.Buffalo.EDU> haozhou@acsu.buffalo.edu (hao zhou) writes: >>A further question: >> Is it possible to figure out who have fingered you? > >You could:- > >1) Search the process table looking for the keyword 'finger'. All this would >alt this would require would just starting ps. However this method >isn't very reliable in that it would catch other people who were >fingering at that time + the process might not have an argv[0] of >finger anyway. > >2) Perhaps a more reliable method would be to go and get the active >inode information from a program like pstat. (On Xenix, the option would >be pstat -i). This gives you the device, the inode number and the uid >of all currently active inodes. Therefore you can work out who is >fingering you. This is assuming, of course, that the initiator of the finger command did so on your local machine. Don't you guys have networks??? :-) -MikeP