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