home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!wupost!cs.utexas.edu!lgc.com!lgc.com!danson
- From: danson@lgc.com (Doug Anson)
- Subject: AIX 3.2 public domain pstat?
- Message-ID: <1992Nov11.235737.20972@lgc.com>
- Keywords: AIX 3.2, pstat
- Sender: usenet@lgc.com
- Nntp-Posting-Host: voodoo.lgc.com
- Organization: LandMark Graphics Corporation LGC
- Date: Wed, 11 Nov 1992 23:57:37 GMT
- Lines: 32
-
- Hi:
-
- Does anyone in know of a public domain version of pstat for
- AIX 3.2? I basically need to extract the following from an
- AIX kernel:
- maximum number of files the kernel supports (nfiles in SUN)
- maximum number of inodes (ninode in SUN)
- "shminfo" structure -- shared memory information structure
- "seminfo" structure -- semaphore information structure
- I can do an nlist(3) on /unix and get offsets for the shminfo, and seminfo
- variables. However if I then try to extract them from /dev/kmem using
- lseek and read I get nothing. Are there special kernel seek/read calls in
- AIX 3.2? (i.e. like kvm_read() in SUN??)
-
- I have the 1.05 version of the pd monitor program but this doesnt look for
- the variables I look for. In addition, the monitor program uses knlist(3)
- which must be different that the nlist(3) function (how or why??).
-
- Any comments would be *GREATLY* appreciated.
-
- Doug
-
- --
- -------------------------------------------
- Doug Anson
- Internet: danson@lgc.com
- Phone: 713.560.1274
- FAX: 713.560.1277
- SNAIL: Landmark Graphics Corporation LGC
- 15150 Memorial Drive
- Houston, TX 77079
- -------------------------------------------
-