🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #938

Re: how to put a program into a .plan file

#938
From: Matthew Farwell
Date: Sat, 29 Sep 1990 14:11
24 lines
1580 bytes
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.

Dylan.
-- 
Matthew J Farwell                 | Email: dylan@ibmpcug.co.uk
The IBM PC User Group, PO Box 360,|        ...!uunet!ukc!ibmpcug!dylan
Harrow HA1 4LQ England            | CONNECT - Usenet Access in the UK!!
Phone: +44 81-863-1191            | Sun? Don't they make coffee machines?
Technical Details
Message-ID: <1990Sep29.141154.3546@ibmpcug.co.uk>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!ukc!slxsys!ibmpcug!dylan
References: <2867@litchi.bbn.com> <376@ra.abo.fi> <4109@rtifs1.UUCP> <38200@eerie.acsu.Buffalo.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!ukc!slxsys!ibmpcug!dylan
From: dylan@ibmpcug.co.uk (Matthew Farwell)
Newsgroups: comp.unix.programmer
Subject: Re: how to put a program into a .plan file
Message-ID: <1990Sep29.141154.3546@ibmpcug.co.uk>
Date: 29 Sep 90 14:11:54 GMT
References: <2867@litchi.bbn.com> <376@ra.abo.fi> <4109@rtifs1.UUCP> <38200@eerie.acsu.Buffalo.EDU>
Reply-To: dylan@ibmpcug.CO.UK (Matthew Farwell)
Organization: The IBM PC User Group, UK.
Lines: 24