home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / aix / 13205 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.7 KB  |  45 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!ddssuprs!lpc
  3. From: lpc@dickens.com (Luis P Caamano)
  4. Subject: Re: process numbers
  5. Message-ID: <1993Jan11.231826.25685@dickens.com>
  6. Date: Mon, 11 Jan 1993 23:18:26 GMT
  7. References: <1h6hv0INNrsl@life.ai.mit.edu> <C0EB6D.174w@austin.ibm.com> <C0Ly9M.nB6@austin.ibm.com>
  8. Organization: Dickens Data Systems, Inc.
  9. Lines: 34
  10.  
  11. In article <C0Ly9M.nB6@austin.ibm.com> jfh@greenber.austin.ibm.com (John F Haugh II) writes:
  12. >
  13. >>>This is actually fairly useful.  When I want to spy on a process with
  14. >>>`crash', it's easy to calculate the index into the process table which
  15. >>>I need for the `u' command.
  16. >>
  17. >>    I always looked at the output from the 'proc' subcommand, then
  18. >>    used the slot number for 'u'.....
  19. >
  20. >Charles is right on this one.
  21. >
  22. >% expr PID / 256
  23. >
  24. >is a LOT easier than wading through hundreds of lines of output from "proc".
  25.  
  26.  
  27. The covert channel is pretty interesting (not being in the cracking-
  28. hacking-spy-security business, I never thought of that one :)
  29.  
  30. Anyway what I wanted to say is that I thought the new proc number
  31. thing was done for performance.  With the AIX scheme, it's easier
  32. to get to the proc slot in the proc table from the proc number
  33. than using the sequential numbering scheme in classic unix since
  34. in the latter the proc number doesn't have any information about 
  35. the slot. Does it make sense to you?  I might be missing 
  36. something ...  :-}
  37.  
  38.  
  39. -- 
  40. Luis P. Caamano                        |         lpc@dickens.com
  41. Dickens Data Systems, Inc. Atlanta, GA |         uunet!dickens.com!lpc
  42. ---------------------------------------------------------------------------
  43. If I think I know it all, I'll stop learning. -myself
  44. The more I learn, the more I know I know nothing. -somebody else
  45.