SirMon User Monitor menu

From m204wiki
Jump to navigation Jump to search

Option 3 from the SirMon main menu presents a menu of user statistics screens. This menu is also accessible by entering =3 in the command line of any SirMon screen. In RKWeb, expanding the Performance > Users menu of the Monitor tab displays these statistics options in a sub-menu.

User Monitor menu

SmonUserMon.png

Selecting any user statistics option from this menu transfers opens a scrollable screen displaying specific statistics for all users in the Online system. The PF1 key displays definitions for the presented statistics.

Number Option Description
U Update the selection menu Allows SirMon administrators to customize the User Monitor menu.
A User AD-HOC An ad hoc view of user statistics specific to each SirMon user.
1 Resource Usage Broad measurements of users' consumption of CPU and I/O activity.
2 User State Display Displays users state, wait type and other measures to indicate their level of activity.
3 Resource Usage and Subsys Various resource consumption statistics and the current subsystem for each user.
4 Disk Buffer Usage Various DKxxx statistics for each user.
5 Misc. Resource Usage Aggregate measures of activity, making it easy to spot significant resource consumers.
6 Record Locking Table Usage Statistics useful in determining utilization of the record locking table and highlighting poor enqueueing behaviour in applications.
7 Critical File Resources Detailed statistics providing information about conflicts on critical file resources.

As many as 25 locally defined screens may also be accessed from the User Monitor menu. These screens are defined by a SirMon administrator as described in SirMon custom screens.

User Monitor commands

A number of special commands (TN3270 interface only) allow screen positioning and selection when viewing user statistics.

NO xxxxx Positions the screen at the specified user number.
ACCOUNT xxxxxxx xxxxxxxx is any valid wildcard string.

This restricts the display to users with account ids that match the specified pattern. For example, this command limits the display to account IDs that begin with the letters "AB":

ACCOUNT AB*

CHKP Restricts the display to users that have an inflight updating transaction, hence preventing checkpoints. A checkpoint does not have to be in progress for this option to perform the indicated restriction, but if nobody is holding an open updating transaction, the display will be empty.
FILE xxxxxxxx Restricts the display to users that have file xxxxxxxx open. Wildcards may not be used in the file name.
IODEV xxx Restricts the display to users connected to the Model 204 online via the specified IO device type. Wildcards are not allowed in the IODEV specification.
PNAME xxxxxxxx This restricts the display to users currently running any procedure whose name matches the specified pattern. For example, this command limits the display to users running any procedure whose name ends with the letters "MENU":

PNAME *MENU

SUBSYS xxxxxxxx This restricts the display to users in any subsystem that matches the specified pattern.

For example, this command limits the display to users in any subsystem that begins with the letters "TEST":

SUBSYS TEST*

TERMID xxxxxxx This restricts the display to users with terminal ids that match the specified pattern. For example, this command limits the display to terminal ids that begin with the letters "VT":

TERMID VT*

USER xxxxxxxx This restricts the display to user ids that match the specified pattern.

For example, this command limits the display to user ids that begin with the letters "PROC":

USER PROC*

WHAT xxxx This restricts the display to users whose WHAT statistic matches the specified pattern. For example, this command limits the display to users with WHAT statistics that begin with the letters "EV", hence only EVAL users would be shown:

WHAT EV*

ALL ALL removes any restriction on the display. The display is returned to viewing all users.

Zoom and Detail views

All User Monitor screens give the option of "zooming" (the PF6 key) or obtaining a detail view (the PF10 key) on an individual user. The cursor must be on a valid user line to determine the user for which Zoom or Detail statistics are required. In RKWeb, clicking a line of statistics opens a combined Zoom and Detail view.

Zoom presents a non-scrollable (refer to Non-scrollable screen format) screen displaying the same statistics that were displayed on the original screen, but with screen lines representing time-sliced views of the selected user's performance.

Detail presents a display of most of the important statistics that can be displayed for any single user:

User Detail screen

SmonUserDetail.png

The PF3 key from a Zoom or Detail screen returns the original User Monitor screen.

See also