home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / aix / 8840 < prev    next >
Encoding:
Internet Message Format  |  1992-08-15  |  2.1 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!ucbvax!CHVM1.VNET.IBM.COM!MCOG
  2. From: MCOG@CHVM1.VNET.IBM.COM ("Michael A. Coggins")
  3. Newsgroups: comp.unix.aix
  4. Subject: Detecting where program text segments come from...
  5. Message-ID: <9208152131.AA17398@ucbvax.Berkeley.EDU>
  6. Date: 15 Aug 92 21:31:30 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Lines: 41
  9. X-Unparsable-Date: Sat, 15 Aug 92 18:11:50 CET
  10.  
  11. The AIX 3.2.1 update/ptf/maintenance release/tape has a
  12. "selective fix" for what are called "AIX Performance Tools".
  13. The exact update is "bosext1.3.2.0.0.U402609".  These tools
  14. are very interesting, and also useful.
  15.  
  16. One of my favorites for understanding the system's VMM is
  17. called "svmon".  It has loads of options, and will output
  18. information like the following example, clearly showing
  19. the location of the program text.  It also shows all
  20. segments associated with a process, including kernel
  21. processes.  I highly recommend this program to all
  22. system adminstrators.
  23.  
  24. Here's an example from an AIX server in our network:
  25. Pid:   7913
  26. Command:  e789
  27.  
  28. Segid  Type  Description       Inuse   Pin  Pgspace   Address Range
  29.  70bc  pers  /dev/hd2:4579         2     0       0    0..1
  30.  280a  work  shared library     1177     0    2227    0..2368 : 60123..65535
  31.  2369  work  sreg3Y               6     0       6    0..5 : 65536..65535
  32.  5417  work  private              54     2      46    0..114 : 65407..65535
  33.   681  pers  code,/dev/hd2:10818  12     0       0    0..13
  34.  
  35. Here's an example of a nfs mounted executable from my /usr client:
  36. Pid:   5448
  37. Command:  syslogd
  38.  
  39. Segid  Type  Description       Inuse   Pin  Pgspace   Address Range
  40.  3018  pers  /dev/hd4:2            1     0       0    0..0
  41.  140a  work  shared library     1303     0    1701    0..1780 : 65471..65535
  42.  3add  work  private              30     2      40    0..127 : 65404..65535
  43.   ae5  clnt                        4     0       0    0..5
  44.  
  45. Just an aside, the shared library segment will be shared across ALL
  46. programs that use any shared libraries, for efficiency, of course.
  47. --
  48. Mickey Coggins  mcog@chvm1.vnet.ibm.com
  49.                 +41-1-436-7274 or +41-1-436-8525 (fax)
  50.                 Hohlstrasse 560, CH-8048 Zurich, Switzerland
  51.  
  52.