subscribe iconSubscribe to this information

svmon command

Purpose

Captures and analyzes a snapshot of virtual memory.

Syntax

Global Report

svmon [-G [-i Intvl [ NumIntvl ][-z]]

Process Report

svmon[-P [pid1...pidn] [-r] [-u||-g|-v] [-ns] [-wfc] [-q[s|m|L|S]] [-t Count] [ -i Intvl [NumIntvl] ] [-l] [-j] [-z] [-m] ]

Segment Report

svmon [-S [sid1...sidn] [-r] [-u|-P|-g|-v] [-ns] [-wfc] [-g [s|m|L|S]] [-t Count] [ -i Intvl [NumIntvl] ] [-l] [-j] [-z] [-m] ]

Detailed Report

svmon [-D sid1...sidn [-b] [-q [s|m|L|S]] [ -i Intvl [NumIntvl] ][-z]]

Framed Report

svmon [-F [fr1...frn] [-q [s|m|L|S]] [-i Intvl [NumIntvl] ][-z]] ]

Command Report

svmon [-C cmd1...cmdn [-r] [-u|-p|-g|-v] [-ns] [-wfc] [-q [s|m|L|S]] [-t Count] [ -i Intvl [NumIntvl] ] [-d] [-l] [-j] [-z] [-m] ]

User Report

svmon [-U [lognm1...lognmn] [-r] [-u|-p|-g|-v] [-ns] [-wfc] [-t Count] [ -i Intvl [NumIntvl] ] [-d] [-l] [-j] [-z] [-m] ]

Workload Management Class Report

svmon [-W [class1...classn] [-e] [-r]] [-u|-p|-g|-v] [-ns] [-wfc] [-q [s|m|L|S]] [-t Count] [-i Intvl [NumIntvl] ] [-d] [-l] [-j] [-z] [-m] ]

Workload Management Tier Report

svmon [-T [tier1...tiern] [-a superclass] [-x] -e [-r] [-u|-p|-g|-v] [-ns] [-wfc] [-q [s|m|L|S]] [-t Count] [ -i Intvl [NumIntvl] ] [-d] [-l] [-j] [-z] [-m] ]

Description

Flags

If no command line flag is given, then the -G flag is the default.

-a SupClassName Restricts the scope to the subclasses of the SupClassName class parameter (in the Tier report -T). The parameter is a superclass name. No list of class is supported.
-b Shows the status of the reference and modified bits of all the displayed frames (detailed report -D). When shown, the reference bit of the frame is reset. When used with the -i flag, it detects which frames are accessed between each interval.
Note: Use this flag with caution because of its impact on performance.
-CCommand1...CommandN Displays memory usage statistics for the processes running the command name Commandnm1...CommandnmN. Commandnm is a string. It is the exact basename of an executable file.
-d Displays for a given entity, the memory statistics of the processes belonging to the entity (user name or command name).
-DSID1...SIDN Displays memory-usage statistics for segments SID1...SIDN, and a detail status of all frames of each segment. Segment ids specified must be of primary segments.
-e Displays the memory usage statistics of the subclasses of the Class parameter in the Workload Class report -W and in the Tier report -T. The class parameter of -W or -a needs to be a superclass name.
-f Indicates that only persistent segments (files) are to be included in the statistics. By default all segments are analyzed.
-F[Frame1...FrameN] Displays the status of frames Frame1...FrameN including the segments to which they belong. If no list of frames is supplied, the percentage of memory used displays.
-g Indicates that the information to be displayed is sorted in decreasing order by the total number of pages reserved or used on paging space. This flag, in conjunction with the segment report, shifts the non-working segment at the end of the sorted list
-G Displays a global report.
-i Interval [NumIntervals] Instructs the svmon command to display statistics repetitively. Statistics are collected and printed every Interval seconds. NumIntervals is the number of repetitions; if not specified, svmon runs until user interruption, Ctrl-C.
Note: It may take a few seconds to collect statistics for some options. The observed interval may be larger than the specified interval.
-j Shows, for each persistent segment, the file path referred.
Note: This flag should be used with caution because of its potential performance impacts (especially with svmon -S).
-l Shows, for each displayed segment, the list of process identifiers that use the segment and, according to the type of report, the entity name (login, command, tier, or class) to which the process belongs. For special segments, a label is displayed instead of the list of process identifiers.
System segment
This label is displayed for segments that are flagged system.
Unused segment
This label is displayed for segments which are not used by any existing processes. For example, persistent segments relative to files no longer in usage.
Shared library text
This label is displayed for segments that contain text of shared library, and that may be used by most of the processes (for example, libc.a). This is to prevent the display of a long list of processes.
-m Displays information about source segment and mapping segment when a segment is mapping a source segment. The default is to display only information about the mapping segment.
-n Indicates that only non-system segments are to be included in the statistics. By default, all segments are analyzed.
-s Indicates that only system segments are to be included in the statistics. By default, all segments are analyzed.
-p Indicates that the information to be displayed is sorted in decreasing order by the total number of pages pinned.
-P [PID1..PIDN] Displays memory usage statistics for process PID1...PIDN. PID is a decimal value. If no list of process IDs (PIDs) is supplied, memory usage statistics are displayed for all active processes.
-q [small | Large ] Filters results regarding whether they deal with pages of the requested size or not. The requested page size is specified through the option sub-argument. 4KB pages are specified with s and 16MB pages with Large. If no sub-argument is specified, the default is 16MB pages (Large). Metrics per page size are also displayed.
-r Displays the ranges 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.
-S [SID1...SIDN ] Displays memory-usage statistics for segments SID1...SIDN. SID is a hexadecimal value. Segment IDs specified must be of primary segments. If no list of segment IDs (SIDs) is supplied, memory usage statistics are displayed for all defined segments.
-t Count Displays memory usage statistics for the top Count object to be printed
-T [Tier1...TierN] Displays memory usage statistics of all the classes of the tier numbers Tier1...TierN. If no list of tier is supplied, memory usage statistics displayed for all the defined tiers.
-u Indicates that the information to be displayed is sorted in decreasing order by the total number of pages in real memory. It is the default sorting criteria if none of the following flags are present: -p, -g and -v.
-U [LogName1...LogNameN ] Displays memory usage statistics for the login name LogName1...LogNameN. LogName is a string, it is an exact login name. If no list of login identifier is supplied, memory usage statistics are displayed for all defined login identifiers.
-v Indicates that the information to be displayed is sorted in decreasing order by the total number of pages in virtual space. This flag, in conjunction with the segment report, shifts the non-working segment at the end of the sorted list.
-w Indicates that only working segments are to be included in the statistics. By default all segments are analyzed.
-W [ Clnm1...ClnmN ] Displays memory usage statistics for the workload management class Clnm1...ClnmN. Clnm is a string. It is the exact name of a class. For a subclass, the name should have the form superclassname.subclassname. If no list of class name is supplied, memory usage statistics display for all defined class names.
-c Indicates that only client segments are to be included in the statistics. By default, all segments are analyzed.
-x Displays memory usage statistics for the segments for every class of a tier in the Tier report -T.
-z Displays the maximum memory size dynamically allocated by svmon during its execution.

Examples

To print out global statistics, type: :
svmon -G
               	size     	    inuse       free         pin   	virtual
memory       	262144      			99728      162416      52690    81741
pg space     	393216      			706

               	work        pers       clnt
pin           	52690       0          0
in use        	81741       0          17987

Send feedback | Rate this page

Last updated: Fri, Oct 30, 2009