home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / hp / 9344 < prev    next >
Encoding:
Text File  |  1992-08-17  |  1.4 KB  |  37 lines

  1. Nntp-Posting-Host: alaska.et.byu.edu
  2. Lines: 24
  3. Path: sparky!uunet!usc!sol.ctr.columbia.edu!eff!news.byu.edu!news
  4. Message-ID: <n2@byu.edu>
  5. Date: Mon, 17 Aug 92 10:11:11 MDT
  6. From: gritton@alaska.et.byu.edu (Jamie Gritton)
  7. Organization: Brigham Young University, Provo UT USA
  8. Newsgroups: comp.sys.hp
  9. Subject: pstat () system call (and other goodies)
  10. Reply-To: gritton@byu.edu
  11. References: <1992Aug14.083831.9639@Informatik.TU-Muenchen.DE>
  12.  
  13. radermac@Informatik.TU-Muenchen.DE (Ralph Radermacher) writes:
  14.  
  15. > So I was looking for alternatives. By doing this, I discovered
  16. > that there is a system call pstat ().
  17.  
  18. > The problem is that I'm not able to find any information about
  19. > the parameters expected by pstat ().
  20.  
  21.    I found this by accident too. After looking in sys/pstat.h, I
  22. played around with it and found out how to make it work. It's really
  23. quite useful, and much more elegant then poking around in /dev/kmem.
  24. Plus non-root users can get the info too.
  25.  
  26.    My question is: is this some kind of standard? An emerging one
  27. perhaps? It looks like the way the system call was implemented was
  28. with an eye toward compatability and system-nonspecificity (if that's
  29. a word). If HP came up with it on their own, it's a shame they didn't
  30. document it.
  31.  
  32.    I know about this, mmap() and friends, and the getpriority/
  33. setpriotiry defined in syscall.h. Are there other undocumented system
  34. calls the anyone has run into in HP-UX?
  35. --
  36. James Gritton - gritton@byu.edu - I disclaim
  37.