how to put a program into a .plan file
Michael A. Petonic
mikep at dirty.csc.ti.com
Tue Oct 2 13:55:34 AEST 1990
In article <1990Sep29.141154.3546 at ibmpcug.co.uk> dylan at ibmpcug.co.uk (Matthew Farwell) writes:
>In article <38200 at eerie.acsu.Buffalo.EDU> haozhou at 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
More information about the Comp.unix.programmer
mailing list