home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / aix / 11499 < prev    next >
Encoding:
Text File  |  1992-11-11  |  1.6 KB  |  45 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!wupost!cs.utexas.edu!lgc.com!lgc.com!danson
  3. From: danson@lgc.com (Doug Anson)
  4. Subject: AIX 3.2 public domain pstat?
  5. Message-ID: <1992Nov11.235737.20972@lgc.com>
  6. Keywords: AIX 3.2, pstat
  7. Sender: usenet@lgc.com
  8. Nntp-Posting-Host: voodoo.lgc.com
  9. Organization: LandMark Graphics Corporation LGC
  10. Date: Wed, 11 Nov 1992 23:57:37 GMT
  11. Lines: 32
  12.  
  13. Hi:
  14.  
  15. Does anyone in know of a public domain version of pstat for 
  16. AIX 3.2?  I basically need to extract the following from an
  17. AIX kernel:
  18.     maximum number of files the kernel supports (nfiles in SUN)
  19.     maximum number of inodes (ninode in SUN)
  20.     "shminfo" structure -- shared memory information structure
  21.     "seminfo" structure -- semaphore information structure
  22. I can do an nlist(3) on /unix and get offsets for the shminfo, and seminfo
  23. variables. However if I then try to extract them from /dev/kmem using
  24. lseek and read I get nothing. Are there special kernel seek/read calls in
  25. AIX 3.2?  (i.e. like kvm_read() in SUN??)
  26.  
  27. I have the 1.05 version of the pd monitor program but this doesnt look for
  28. the variables I look for. In addition, the monitor program uses knlist(3)
  29. which must be different that the nlist(3) function (how or why??).
  30.  
  31. Any comments would be *GREATLY* appreciated.
  32.  
  33. Doug
  34.  
  35. -- 
  36. -------------------------------------------
  37. Doug Anson                    
  38. Internet: danson@lgc.com            
  39. Phone:      713.560.1274
  40. FAX:      713.560.1277
  41. SNAIL:    Landmark Graphics Corporation LGC    
  42.       15150 Memorial Drive
  43.       Houston, TX 77079            
  44. -------------------------------------------
  45.