home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / aix / 9144 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.4 KB  |  47 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!noc.near.net!wpi.WPI.EDU!tensor4!cwright
  3. From: cwright@tensor4.WPI.EDU (Charles R Wright)
  4. Subject: AIX pstat/crash command
  5. Message-ID: <BtnBts.MpF@wpi.WPI.EDU>
  6. Sender: news@wpi.WPI.EDU (USENET News System)
  7. Nntp-Posting-Host: tensor4.wpi.edu
  8. Organization: Worcester Polytechnic Institute, Worcester, MA
  9. Distribution: usa
  10. Date: Thu, 27 Aug 1992 14:20:15 GMT
  11. Lines: 34
  12.  
  13.  
  14. Hello,
  15.  
  16. I just encountered something wierd, or at least, unfamiliar.
  17.  
  18. I tried to use the pstat command on my RS6k (AIX 3.2) and I get the
  19. message
  20.  
  21.     "Cannot open dump file /dev/kmem"
  22.  
  23. Now, I know that commands like ps and pstat are setgid kmem on Ultrix
  24. and SunOS too, but on AIX, what's going on?  We have /etc/pstat linked
  25. to /usr/sbin/crash, with protections r-xr-xr-x.  No setgid.  Owned by
  26. bin, group bin.
  27.  
  28. Then again, for /bin/ps, the protections are the same (owner and group
  29. are bin), but I have no problem doing a "ps gcu", or any other ps
  30. option.
  31.  
  32. The weird thing is that I use pstat once in a while as a normal user
  33. (not as root) and I never encountered this before.  Today I tried
  34. "pstat -T" as root and it ran with no problem.
  35.  
  36. /dev/kmem has protections r--r----- and is owned by root, group
  37. system.
  38.  
  39. What's going on?  Is this something new to AIX 3.2? (I did an upgrade
  40. in June from 3.1.?)
  41.  
  42.  
  43. Thanks for any help,
  44.  
  45. Charles Wright             Research Assistant, Machine Vision Lab
  46. cwright@ee.wpi.edu         De facto system manager for an IBM RS-6000
  47.