home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / aix / 12846 < prev    next >
Encoding:
Internet Message Format  |  1992-12-26  |  1.1 KB

  1. Path: sparky!uunet!spool.mu.edu!olivea!mintaka.lcs.mit.edu!ai-lab!hal.gnu.ai.mit.edu!mycroft
  2. From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: process numbers
  5. Message-ID: <1h6hv0INNrsl@life.ai.mit.edu>
  6. Date: 22 Dec 92 08:00:32 GMT
  7. References: <GEUDER.92Dec21195041@priamos.informatik.uni-stuttgart.de> <BzMqs8.1Krz@austin.ibm.com>
  8. Organization: /etc/organization
  9. Lines: 19
  10. NNTP-Posting-Host: hal.gnu.ai.mit.edu
  11.  
  12.  
  13. In article <BzMqs8.1Krz@austin.ibm.com> curt@ekhadafi.austin.ibm.com
  14. (Curt Finch 903 2F021 curt@aixwiz.austin.ibm.com 512-838-2806) writes:
  15. >
  16. > My understanding is that it was done for security reasons.
  17.  
  18. This is nonsense.
  19.  
  20. The process number is the process table index shifted 8 bits, plus a
  21. number which is incremented every time a process is put in that slot.
  22.  
  23. This is actually fairly useful.  When I want to spy on a process with
  24. `crash', it's easy to calculate the index into the process table which
  25. I need for the `u' command.
  26.  
  27. -- 
  28.  \  /   Charles Hannum, mycroft@ai.mit.edu
  29.  /\ \   PGP public key available on request.  MIME, AMS, NextMail accepted.
  30. Scheme  White heterosexual atheist male (WHAM) pride!
  31.