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