Captures and analyzes a snapshot of virtual memory.
Global Report
svmon -G [ -i Interval [ NumIntervals ] ] [ -z ]
User Report
svmon -U [ LogName1...LogNameN ] [ -r ] [ -n | -s ] [ -w | -f -c ] [ -t Count ] [ -u | -p | -g | -v ] [ -i Interval [ NumIntervals ] ] [ -l ] [ -d ] [ -z ] [ -m ]
Command Report
svmon -C Command1...CommandN [ -r ] [ -n | -s ] [ -w | -f | -c ] [-t Count ] [ -u | -p | -g | -v ] [ -i Interval [ NumIntervals] ] [ -l ] [ -d ] [ -z ] [ -m ]
Workload Management Class Report
svmon -W [ ClassName1...ClassNameN ] [ -e ] [ -r ] [ -n | -s ] [ -w | -f | -c ] [-t Count ] [ -u | -p | -g | -v ] [ -i Interval [ NumIntervals]] [ -l ] [ -d ] [ -z ] [ -m ]
Workload Management Tier Report
svmon -T [ Tier1...TierN ] [ -a SupClassName ] [ -x ] [ -e ] [ -r ] [ -u | -p | -g | -v ] [ -n | -s ] [ -w | -f | -c ] [ -t Count ] [ -i Interval [ NumIntervals ] ] [ -l ] [ -z ] [ -m ]
Process Report
svmon -P [ PID1... PIDN ] [ -r [ -n | -s ] [ -w | -f | -c ] [ -t Count ] [ -u | -p | -g | -v ] [ -i Interval [ NumIntervals] ] [ -l ] [ -z ] [ -m ]
Segment Report
svmon -S [ SID1...SIDN ] [ -r ] [ -n | -s ] [ -w | -f | -c ] [ -t Count ] [ -u | -p | -g | -v ] [ -i Interval [ NumIntervals] ] [ -l ] [ -z ] [ -m ]
Detailed Report
svmon -D SID1..SIDN [ -b ] [ -i Interval [ NumIntervals] ] [ -z ]
Framed Report
svmon -F [ Frame1..FrameN ] [ -i Interval [ NumIntervals] ] [ -z ]
The svmon command displays information about the current state of memory. The displayed information does not constitute a true snapshot of memory, because the svmon command runs at user level with interrupts enabled.
The segment is a set of pages and is the basic object used to report the memory consumption. So the statistics reported by svmon are expressed in terms of pages. A page is a 4K block of virtual memory while a frame is a 4K block of real memory. Unless otherwise noted, all statistics are in units of 4096-byte of memory pages.
The memory consumption is reported using the inuse, free, pin, virtual and paging space counters.
A segment can be used by multiple processes. Each page from such a segment is accounted for in the inuse, pin, virtual or pgspace fields for each process that uses the segment. Therefore, the total of the inuse, pin, virtual and pgspace fields over all active processes may exceed the total number of pages in memory or on paging space.
VMM manages virtual page counters for statistical purpose only, which means they are not always up-to-date and their values may be less than the corresponding inuse counters.
A segment belongs to one of the five following types:
persistent | Segments used to manipulate files and directories |
working | Segments used to implement the data areas of processes and shared memory segments |
client | Segments used to implement some virtual file systems like Network File System (NFS) and the CD-ROM file system |
mapping | Segments used to implement the mapping of files in memory |
real memory mapping | Segments used to access the IO space from the virtual address space. |
This command is valid only on the PowerPC platform.
The svmon command creates nine types of reports:
Each report type is described here.
The global report is printed when the -G flag is specified. The column headings in a global report are:
Note: This includes any free frames that have been made unusable by the memory sizing tool, the rmss command.
The user report is printed when the -U flag is specified. The column headings in a user login report are:
If the -d flag is specified, these statistics are followed by the information about all the processes run by the specified login user name. This information is similar to the one described in Process Report.
Then svmon command displays information about the segments used by those processes. This set of segments is separated into three categories:
If the -l flag is specified, each segment in the last category is followed by the list of process identifiers that use the segment. Beside the process identifier, the login user name which started it, is also displayed. See the -l flag description for special segments processing.
If the -r flag is specified, each segment is followed by the range(s), within the segment, where pages have been allocated.
The command report is printed when the -C flag is specified. The column headings in a command report are:
If the -d flag is specified, these statistics are followed by the information about all the processes running the specified command. This information is similar to the one described in Process Report.
Next svmon displays information about the segments used by those processes. This set of segments is separated into three categories:
If the -l flag is specified, each segment in the last category is followed by the list of process identifiers that use the segment. Beside the process identifier, the command name it runs is also displayed. See the -l flag description for special segments processing.
If the -r flag is specified, each segment is followed by the range(s), within the segment, where pages have been allocated.
svmon provides the ability to report workload management related activity with the following 2 types of report:
These reports are available when the workload manager is running. Otherwise, the message WLM must be started displays and no statistics are reported. When the workload manager is running in passive mode, svmon displays the following message: WLM is running in passive mode before displaying the statistics.
Refer to (Workload Management) in AIX 5L Version 5.1 System Management Guide: Operating System and Devices.
The class report prints when the -W flag is specified. The column headings in a class report are:
After these statistics are displayed, svmon displays information about the segments belonging to the class.
If the -e flag is specified, the statistics of the subclasses of the class are displayed and the segments statistics are reported per subclass. In this case, the class parameter must be a superclass name.
If the -l flag is specified, each segment is followed by the list of process identifiers which are using it. Besides the process identifier, the workload class which the process belongs to is also displayed. See the -l flag description for special segments processing.
If the -r flag is specified, each segment is followed by the range(s), within the segment, where pages have been allocated.
The tier report prints when the -T flag is specified. The column headings in a tier report are:
After these statistics are displayed, svmon displays information about the classes belonging to the tier.
If the -e flag is specified, the statistics of the subclasses of each superclass belonging to the tier, are reported.
If the -x flag is specified, svmon displays information about the segments belonging to each class.
The -r and -l flags can only be used in conjunction with -x.
If the -l flag is specified, each segment is followed by the list of process identifiers which are using it. Besides the process identifier, the tier number and class which the process belongs to are also displayed. See the -l flag description for special segments processing.
If the -r flag is specified, each segment is followed by the range(s), within the segment, where pages have been allocated.
The process report is printed when the -P flag is specified. The column headings in a process report are:
Once process information are displayed, svmon displays information about all the segments the process uses. Information about segment are described in the paragraph Segment Report
The segment report is printed when the -S flag is specified. The column headings in a segment report are:
If the segment is a persistent segment and is not associated with a log, then the device name and i-node number of the associated file are displayed, separated by a colon. (The device name and i-node can be translated into a file name with the ncheck command.) If the segment is the primary segment of a large file, then the words large file are prepended to the description.
If the segment is a persistent segment and is associated with a log, then the string log displays. If the segment is a working segment, then the svmon command attempts to determine the role of the segment. For instance, special working segments such as the kernel and shared library are recognized by the svmon command. If the segment is the private data segment for a process, then private prints out. If the segment is the code segment for a process, and the segment report prints out in response to the -P flag, then the string code is prepended to the description.
If the segment is mapped by several processes and used in a different way (for example, a process private segment mapped as shared memory by another process), then the description is empty. The exact description can be obtained through -P flag applied on each process identifier using the segment.
If a segment description is too large to fit in the description space, then the description is truncated. The truncated part can be obtained through the -S flag (without -l) on a given segment.
Description Table
type of segment | segment usage | description |
---|---|---|
persistent | log files | log |
persistent | files and directories | device name : inode number |
persistent | large files | large file device name : inode number |
mapping | files mapping | mapped to sid source sid |
working | data areas of processes and shared memory segments | dependent on the role of the segment based on the VSID and ESID |
client | NFS and CD-ROM files | dependent on the role of the segment based on the VSID and ESID |
rmapping | IO space mapping | dependent on the role of the segment based on the VSID and ESID |
Description Table Based on vsid for a 32-bit Kernel
Segment Type | Description |
---|---|
segment table | segment table |
kernel segment | kernel seg |
kernel extension segment | kernel ext seg |
software page frame segments | page frame table |
ram disk segment | ram disk |
user's shadow of kernel segment | kernel shadow |
paging space disk map segment | page space disk map |
base config segment | base config seg |
software hat segment | software hat |
file structures segment | misc kernel tables |
kernel pinned heap segment | kernel pinned heap |
address map entry segment | ame segment |
page table area segment | page table area |
Description Table Based on vsid for a 64-bit Kernel
Segment Type | Description |
---|---|
kernel segment | kernel seg |
VMMs private segment | vmm data segment |
segment table segments | vmm scb segment |
page table area segment | page table area |
paging space disk map segment | page space disk map |
software hat segments | software hat |
software page frame segments | page frame table |
real memory heap segment | rmalloc heap |
address map entry segments | ame segment |
Description Table Based on esid for 32-bit Processes on a 32-bit
Kernel
ESID value or ranges | Description |
---|---|
0x0 | kernel |
0x1 | code |
0x2 | process private |
0x3-0xC | shmat/mmap |
0xD | shared library text |
0xE | shared library ovfl |
0xF | shared library data |
Description Table Based on esid for 64-bit Processes on a 32-bit
Kernel
ESID value or ranges | Description |
---|---|
0x0 | kernel |
0x2 | process private |
0xD | shared library text |
0x10 - 0x6FFFFFFF | text data BSS heap |
0x70000000 -0 x7FFFFFFF | default shmat/mmap |
0x80000000 - 0x8FFFFFFF | private load |
0x90000000 - 0x90010009 | shared library text |
0x9001000A - 0x90020013 | shared library data |
0x90020014 - 0x9FFFFFFE | shared library |
0x9FFFFFFF | USLA |
0xA0000000 - 0xEFFFFFFF | rsvd for system use |
0xF0000000 - 0xFFFFFFFF | application stack |
Description Table Based on esid for 32-bit Processes on a 64-bit
Kernel
ESID value or ranges | description |
---|---|
0x0 | kernel |
0x1 | code |
0x2 | process private |
0x3-0xC | shmat/mmap |
0xD | shared library text |
0xE | shmat/mmap |
0xF | shared library data |
0x9FFFFFD0-0x9FFFFFDF | 32 bit user alias |
0x9FFFFFF0-0x9FFFFFFF | 32bit loader alias |
Description Table Based on esid for 64-bit Processes on a 64-bit
Kernel
ESID value or ranges | Description |
---|---|
0x0 | kernel |
0x2 | process private |
0x3-0xC | shmat/mmap |
0xE | shmat/mmap |
0x10-0x6FFFFFFF | text data BSS heap |
0x70000000-0x7FFFFFFF | default shmat/mmap |
0x80000000-0x8FFFFFFF | private load |
0x90000000-0x9FFFFFFF | shared library text |
0xF0000000-0xFFFFFFFF | application stack |
If the -r flag is specified, the range(s) within the segment pages which have been allocated. A working segment may have two ranges because pages are allocated by starting from both ends and moving towards the middle.
If the -l flag is specified, the list of process identifiers which use that segment is displayed. See the -l flag description for special segments processing.
The detailed report is printed when the -D flag is specified. The column headings in a detailed report are:
Same segment information as described in the segment report and additionally for each frame:
The frame report prints when the -F flag is specified.
When no argument is specified, the frame report returns the percentage of real memory used.
When frame numbers are specified, the column headings in the report are:
If no command line flag is given, then
the -G flag is implicit.
Access Control: You must have root authority to run this command.
svmon -G
size inuse free pin virtual memory 81896 79947 1949 5231 261903 pg space 204800 188717 work pers clnt pin 5239 0 0 in use 77333 2423 191
The memory size of the system is 81896 frames i.e. 81896*4*1024 bytes (320 MB). This size is split into the inuse frames (79947 frames) and the free frames (1949 frames). 5231 frames are pinned in memory. The number of pages allocated in the system virtual space is 261903. The size of the paging space is 204800 pages i.e. 204800*4*1024 bytes (800 MB). The number of paging space pages used is 188717.
The pinned frames (5231 frames) is only composed of working segment pinned pages (5239 frames). The number of frames containing pages (79947 frames) is composed of working segment pages (77333 frames), persistent segment pages (2423 frames) and client segment pages (191 frames). The sum of the pinned counters (work, pers, clnt) may be different from the memory pin counter and the sum of in use counters (work, pers, clnt) may be different from the memory inuse counter due to the statistical purpose of these counters.
svmon -G -i 60 30
svmon -U steve
=============================================================================== User steve Inuse Pin Pgsp Virtual 1975 1203 1059 3985 ............................................................................... SYSTEM segments Inuse Pin Pgsp Virtual 1438 1202 1033 2140 Vsid Esid Type Description Inuse Pin Pgsp Virtual 0 0 work kernel seg 1438 1202 1033 2140 ............................................................................... EXCLUSIVE segments Inuse Pin Pgsp Virtual 100 1 0 88 Vsid Esid Type Description Inuse Pin Pgsp Virtual a771 2 work process private 76 1 0 74 cf7c f work shared library data 23 0 0 14 3783 - pers /dev/hd1:6194 1 0 - - ............................................................................... SHARED segments Inuse Pin Pgsp Virtual 437 0 26 1757 Vsid Esid Type Description Inuse Pin Pgsp Virtual 8811 d work shared library text 377 0 26 1757 8050 1 pers code,/dev/hd2:4204 58 0 - - 1863 - pers /dev/hd2:12837 2 0 - -
The user steve has 1975 pages in real memory. 1203 frames are pinned. The number of pages reserved or used in paging space is 1059. The number of pages allocated in the virtual space is 3985.
The segments used by the processes run by the user steve are separated into three categories: SYSTEM : segments shared by all processes EXCLUSIVE: segments used by the set of processes belonging to steve SHARED : segments shared by several users The global statistics for the user steve is the sum of each field (Inuse, Pin, Pgsp, Virtual) of these three categories (SYSTEM, EXCLUSIVE, SHARED).
svmon -U root steve -w
svmon -U -g -t 10
svmon -U steve -l
=============================================================================== User steve Inuse Pin Pgsp Virtual 1977 1203 1059 3985 ............................................................................... SYSTEM segments Inuse Pin Pgsp Virtual 1438 1202 1033 2140 Vsid Esid Type Description Inuse Pin Pgsp Virtual 0 0 work kernel seg 1438 1202 1033 2140 ............................................................................... EXCLUSIVE segments Inuse Pin Pgsp Virtual 100 1 0 88 Vsid Esid Type Description Inuse Pin Pgsp Virtual a771 2 work process private 76 1 0 74 cf7c f work shared library data 23 0 0 14 3783 - pers /dev/hd1:6194 1 0 - - ............................................................................... SHARED segments Inuse Pin Pgsp Virtual 439 0 26 1757 Vsid Esid Type Description Inuse Pin Pgsp Virtual 8811 d work shared library text 379 0 26 1757 Shared library text segment 8050 1 pers code,/dev/hd2:4204 58 0 - - pid:12374 user: steve pid:11194 user: root pid:10870 user: root pid:10574 user: root pid:10000 user: root pid:6544 user: root 1863 - pers /dev/hd2:12837 2 0 - - pid:12374 user: steve pid:11194 user: root pid:10870 user: root pid:10574 user: root pid:10000 user: root pid:6544 user: root
Since the -l flag is specified, each segment of the SHARED segments category is followed by the list of process identifiers and user names which are using it.
svmon -U steve -d
=============================================================================== User steve Inuse Pin Pgsp Virtual 1977 1203 1059 3985 ------------------------------------------------------------------------------- Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 12374 -ksh 1977 1203 1059 3985 N N ............................................................................... SYSTEM segments Inuse Pin Pgsp Virtual 1438 1202 1033 2140 Vsid Esid Type Description Inuse Pin Pgsp Virtual 0 0 work kernel seg 1438 1202 1033 2140 ............................................................................... EXCLUSIVE segments Inuse Pin Pgsp Virtual 100 1 0 88 Vsid Esid Type Description Inuse Pin Pgsp Virtual a771 2 work process private 76 1 0 74 cf7c f work shared library data 23 0 0 14 3783 - pers /dev/hd1:6194 1 0 - - ............................................................................... SHARED segments Inuse Pin Pgsp Virtual 439 0 26 1757 Vsid Esid Type Description Inuse Pin Pgsp Virtual 8811 d work shared library text 379 0 26 1757 8050 1 pers code,/dev/hd2:4204 58 0 - - 1863 - pers /dev/hd2:12837 2 0 - -
Since the -d flag is specified, the global statistics are followed by the information about all the processes run by steve.(In this case, only the ksh).
svmon -C login -r
=============================================================================== Command Inuse Pin Pgsp Virtual login 5065 2402 1245 2906 ............................................................................... SYSTEM segments Inuse Pin Pgsp Virtual 4057 2400 1245 2783 Vsid Esid Type Description Inuse Pin Pgsp Virtual 0 0 work kernel seg 4057 2400 1245 2783 Addr Range: 0..22694 ............................................................................... EXCLUSIVE segments Inuse Pin Pgsp Virtual 184 2 0 92 Vsid Esid Type Description Inuse Pin Pgsp Virtual 3fe7 2 work process private 56 2 0 56 Addr Range: 0..37 : 65310..65535 d8bb - pers /dev/hd2:8298 52 0 - - Addr Range: 0..249 ac1 f work shared library data 47 0 0 36 Addr Range: 0..907 69ed 1 pers code,/dev/hd2:245 15 0 - - Addr Range: 0..14 1863 - pers /dev/hd2:8299 11 0 - - Addr Range: 0..10 d85b - pers /dev/hd4:45 2 0 - - Addr Range: 0..1 c1f8 - pers /dev/hd2:15216 1 0 - - Addr Range: 0..0 ............................................................................... SHARED segments Inuse Pin Pgsp Virtual 824 0 0 31 Vsid Esid Type Description Inuse Pin Pgsp Virtual b016 d work shared library text 824 0 0 31 Addr Range: 0..1148
The commands login use 5065 pages in real memory. 2402 frames are pinned. The number of pages reserved or used in paging space is 1245. The number of pages allocated in the virtual space is 2906.
The segments used by the processes running the command login are separated into three categories: SYSTEM : segments shared by all processes EXCLUSIVE: segments used by the set of processes running the command login SHARED : segments shared by several users The global statistics for the user steve is the sum of each field (Inuse, Pin, Pgsp, Virtual) of these three categories (SYSTEM, EXCLUSIVE, SHARED).
The address range for each segment is displayed after its statistics.
svmon -C oracle xemacs cc
svmon -W System
=============================================================================== Superclass Inuse Pin Pgsp Virtual System 2111 465 1128 2394 Vsid Esid Type Description Inuse Pin Pgsp Virtual 700e - work kernel pinned heap 1235 460 1128 1638 af90 - work 391 1 0 391 9f76 - work 223 0 0 214 a771 - work 67 1 0 67 80 - pers /dev/hd2:3 61 0 - - cf7c - work 47 0 0 35 f79b - work 21 0 0 14 9052 - pers /dev/hd3:4 17 0 - - 37a3 - work 15 2 0 15 7a5 - work 15 0 0 8 9797 - work 12 1 0 12 52aa - pers /dev/hd2:4196 3 0 - - 786f - pers log 2 0 - - ca1a - pers /dev/hd2:12817 1 0 - - 89b1 - pers /dev/hd4:761 1 0 - -
The class System uses 2111 pages in real memory. 465 frames are pinned. The number of pages reserved or used in paging space is 1128. The number of pages allocated in the virtual space is 2394.
Information about each segment belonging to the class System is then displayed.
svmon -W default developer
svmon -W Mysupclass -e =============================================================================== Superclass Inuse Pin Pgsp Virtual Mysupclass 1128 14 0 596 =============================================================================== Class Inuse Pin Pgsp Virtual Mysupclass.Default 1128 14 0 596 Vsid Esid Type Description Inuse Pin Pgsp Virtual f9bf - pers /dev/hd2:6386 123 0 - - 6fcd - work 81 2 0 79 d1da - work 79 2 0 77 260 - work 77 2 0 75 ea5d - work 77 2 0 75 3fe7 - work 66 2 0 64 d7da - work 66 2 0 64 87d0 - work 66 2 0 64 3867 - pers /dev/hd2:4205 57 0 - - 522a - pers /dev/hd2:4392 47 0 - - 1a23 - pers /dev/hd2:24764 42 0 - -
=============================================================================== Class Inuse Pin Pgsp Virtual Mysupclass.Shared 0 0 0 0 =============================================================================== Class Inuse Pin Pgsp Virtual Mysupclass.subclass 0 0 0 0 As -e flag is specified, the statistics of the superclass Mysupclass are reported with the statistics of its subclasses.
svmon -T
=============================================================================== Tier Inuse Pin Pgsp Virtual 0 23591 5977 1348 11201 =============================================================================== Superclass Inuse Pin Pgsp Virtual System 18274 5965 1348 10405 Unclassified 3763 8 0 46 Shared 1237 0 0 496 Default 317 4 0 254 Unmanaged 0 0 0 0 =============================================================================== Tier Inuse Pin Pgsp Virtual 1 1128 14 0 596 =============================================================================== Superclass Inuse Pin Pgsp Virtual Mysupclass 1128 14 0 596
All the superclasses of all the defined tiers are reported.
svmon -T 0
=============================================================================== Tier Inuse Pin Pgsp Virtual 0 23591 5977 1348 11201 =============================================================================== Superclass Inuse Pin Pgsp Virtual System 18274 5965 1348 10405 Unclassified 3763 8 0 46 Shared 1237 0 0 496 Default 317 4 0 254 Unmanaged 0 0 0 0
svmon -T 0 -a Mysupclass
=============================================================================== Tier Superclass Inuse Pin Pgsp Virtual 0 Mysupclass 1129 14 0 596 =============================================================================== Class Inuse Pin Pgsp Virtual Mysupclass.Default 1129 14 0 596 Mysupclass.Shared 0 0 0 0 Mysupclass.subclass 0 0 0 0 All the subclasses, belonging to the tier 0, of the superclass Mysupclass, are reported.
svmon -T 0 1 -x
svmon -T 1 -e
=============================================================================== Tier Inuse Pin Pgsp Virtual 1 1129 14 0 596 =============================================================================== Superclass Inuse Pin Pgsp Virtual Mysupclass 1129 14 0 596 =============================================================================== Class Inuse Pin Pgsp Virtual Mysupclass.Default 1129 14 0 596 Mysupclass.Shared 0 0 0 0 Mysupclass.subclass 0 0 0 0
Each superclass belonging to the tier 1 is reported with its subclass statistics.
svmon -T 0 -a Mysupclass -x -l
=============================================================================== Tier Superclass Inuse Pin Pgsp Virtual 0 Mysupclass 1129 14 0 596 =============================================================================== Class Inuse Pin Pgsp Virtual Mysupclass.Default 1129 14 0 596 Vsid Esid Type Description Inuse Pin Pgsp Virtual f9bf - pers /dev/hd2:6386 123 0 - - Unused segment 6fcd 2 work process private 81 2 0 79 pid:13176 tier:0 class:Mysupclass.Default d1da 2 work process private 79 2 0 77 pid:6492 tier:0 class:Mysupclass.Default 260 2 work process private 77 2 0 75 pid:10594 tier:0 class:Mysupclass.Default 3867 1 pers code,/dev/hd2:4205 58 0 - - pid:13176 tier:0 class:Mysupclass.Default pid:13000 tier:0 class:Mysupclass.Default pid:12310 tier:0 class:Mysupclass.Default 6a2d - pers /dev/hd4:705 0 0 - - Unused segment =============================================================================== Class Inuse Pin Pgsp Virtual Mysupclass.Shared 0 0 0 0 =============================================================================== Class Inuse Pin Pgsp Virtual Mysupclass.subclass 0 0 0 0 The statistics of all the subclasses, in the tier 0, of the superclass Mysupclass are reported. Then, as -x is specified, the subclass statistics are followed by its segments statistics. Finally, as -l is specified, for each segment, the list of process which uses it, is displayed. In this list, the process identifier followed by its tier number and its class name are given.
svmon -P 13130 ------------------------------------------------------------------------------- Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 13130 rlogin 1857 1203 1060 3908 N N Vsid Esid Type Description Inuse Pin Pgsp Virtual 0 0 work kernel seg 1438 1202 1033 2140 8811 d work shared library text 379 0 26 1757 2741 1 pers code,/dev/hd2:4485 27 0 - - 4f6c 2 work process private 9 1 1 9 2701 f work shared library data 4 0 0 2
The process 13130 is running the rlogin command. It is neither a 64 process nor a multi-threaded process. This process uses 1857 pages in real memory. 1203 frames are pinned. The number of pages reserved or used in paging space is 1060. The number of pages allocated in the virtual space is 3908.
Information about each segment belonging to the process is then displayed.
svmon -P 6746 10078 -wf
svmon -P -t 10 -p
svmon -P -n -w -v
svmon -S 700e 8811 bed7 Vsid Esid Type Description Inuse Pin Pgsp Virtual 700e - work kernel pinned heap 1236 460 1128 1638 8811 - work 379 0 26 1757 bed7 - pers /dev/hd2:41146 0 0 - -
Information about each segment of the list is displayed.
Esid is not provided because this field is valid only when the segment belongs to address space of the process. The segment 700e is the kernel pinned heap. The segment bed7 is relative to a file whose device is /dev/hd2 and whose inode number is 41146. The segment 8811 has no special characteristics. The Paging space and Virtual fields of the segment bed7 are not meaningful (persistent segment).
svmon -S e00e 15015 -g
svmon -S -t 5 -w -v
svmon -S -s -u -t 10
svmon -S 101 -r
Vsid Esid Type Description Inuse Pin Pgsp Virtual 101 - work 2 0 0 2 Addr Range: 65534..65535
svmon -D 6ec8 Segid: 6ec8 Type: persistent Address Range: 0..6 Page Frame Pin ExtSegid ExtPage 0 13852 N - - 1 14121 N - - 2 13124 N - - 3 14179 N - - 4 13070 N - - 5 13927 N - - 122070 78191 N 208831 dcd6
The segment 6ec8 is a persistent segment with 7 pages. None of them is pinned. The page 122070 is physically the page dcd6 in the extended segment 208831.
svmon -D 6ec8 -b Segid: 6ec8 Type: persistent Address Range: 0..6 Page Frame Pin Ref Mod ExtSegid ExtPage 0 13852 N Y N - - 1 14121 N Y N - - 2 13124 N Y N - - 3 14179 N Y N - - 4 13070 N Y N - - 5 13927 N Y N - - 6 13600 N N N
As the -b flag is specified, the referenced and modified bits of each frame of the segment 6ec8 are displayed.
svmon -D 6ec8 -z
Segid: 6ec8 Type: persistent Address Range: 0..6 Page Frame Pin ExtSegid ExtPage 0 13852 N - - 1 14121 N - - 2 13124 N - - 3 14179 N - - 4 13070 N - - 5 13927 N - - 6 13600 N - - Maximum memory allocated = 836
svmon -F
Processing.. 100% percentage of memory used: 85.10%
The percentage of analyzed memory is provided in order to keep the user aware of the processing. The percentage of memory used (that's mean frames with the reference flag set) is 85,1%.
svmon -F 49473 Frame Segid Ref Mod Pincount State Swbits 49473 f71e N N 0/0 In-Use 88000004
The frame 49473 belongs to the segment f71e. The frame is neither referenced nor modified. It is in the In-use state.
Related Information
The ncheck command, rmss command.
Logical Volume Storage Overview, Paging Space Overview in AIX 5L Version 5.1 System Management Concepts: Operating System and Devices.
Workload Management in AIX 5L Version 5.1 System Management Guide: Operating System and Devices.