TOCPREVNEXTINDEX

Lund Performance Solutions


SOS Main Option Menu

SOS Main Option Menu Screen

The SOS Main Option Menu screen contains a set (and several subsets) of options that enable the user to configure the SOS program.
To access the SOS Main Option Menu screen, enter o from any SOS display screen.


Figure 7.1 SOS Main Option Menu

Main Option Commands

To modify a main option, either temporarily or permanently:
  • Type the option command key from the SOS Main Option Menu screen and press the Enter key.
  • Enter a new parameter at the secondary command prompt. Press the Enter key.
  • Press Enter again to exit the SOS Main Options Menu screen.
  • At the Should these options be saved permanently? prompt:
  • Press the Enter key to return to the SOS program without saving the modifications permanently.
  • Type Y (Yes) to save the changes permanently and then press the Enter key.
  • Information about each of the main options is provided to assist you.

    NOTE All command keys are case-sensitive.

    Screen refresh interval in seconds

    The SOS banner shows the length of the current interval (I: mm:ss) in minutes (mm) and seconds (ss). In the following example, the banner indicates the measurements reported in the screen are updated every minute (60 seconds).


    Figure 7.2 SOS banner: current interval (I: 01:00)
    Setting the Length of the Interval
    The SOS program refreshes (updates) the performance measurement data every 60 seconds. This default can be changed to an interval ranging from 10 to 3600 seconds.

    IMPORTANT SOS runs at a very high priority. Setting a short refresh interval or updating the screen too frequently may burden the system and result in skewed performance measurements. The default setting of 60 seconds is recommended for most systems.

    To adjust the length of the interval:
  • From the SOS Main Options Menu screen, select the Screen refresh interval in seconds option. Press the Enter key.
  • At the next prompt, enter a positive integer from 10 to 3600 (seconds). Press the Enter key.
  • Updating Interval Data
    To update interval data at any time, from any SOS display, type u at the prompt.
    The current interval indicator in the SOS banner (I: mm:ss) marks the time that passed from the beginning of the interval to the second the data update occurred. The example in Figure 7.3 shows that the interval data was updated after the first 52 seconds (I: 00:52) of the interval. The interval data will be updated again according to the refresh interval rate set in the SOS Main Options Menu (refer to "Setting the Length of the Interval").


    Figure 7.3 SOS banner: current interval after update (I: 00:52)

    Display cumulative stats

    Cumulative statistics are accumulated from the instant the SOS program is started or reset until the program is either stopped or reset. By default, cumulative statistics are suppressed—only the statistics for the most recent interval are displayed.
    When cumulative statistics are enabled from the SOS Main Option Menu, they will be placed in brackets ([ ]) next to their corresponding current statistics in all tabular screens. For an example, see the Disk I/O Summary screen in Figure 7.4.


    Figure 7.4 SOS Disk I/O Summary screen (tabular display) with cumulative stats
    In instances where a cumulative statistic is greater than zero, but its closest rounding value (to the tenth) is less than 0, a less than character ([<]) will be displayed instead of an integer.
    Displaying Cumulative Statistics
    To display cumulative statistics in all tabular displays:
  • From the SOS Main Options Menu screen, select the Display cumulative stats option. Press the Enter key.
  • At the next prompt, enter Y (Yes). Press the Enter key.
  • Resetting Cumulative Statistics
    To reset the cumulative statistics in all tabular displays to zero (0), enter r at the SOS Enter command: prompt from any SOS screen. This reset function also updates the current interval (see "Updating Interval Data").

    Display Key Indicators of Performance

    The KIP line can be displayed just below the SOS banner in all SOS screens.

     
     
    KIP Line
     
     

    Figure 7.5 SOS Key Indicators of Performance (KIP) line
    The configuration of the KIP line is discussed in "Key Indicators of Performance (KIP) Line".
    Displaying Key Indicators of Performance
    By default, the key indicators of performance are suppressed. To show the key indicators of performance (KIP) line in all screen displays:
  • From the SOS Main Options Menu screen, select the Display Key Indicators of Performance option. Press the Enter key.
  • At the next prompt, enter Y (Yes). Press the Enter key.
  • Display option

    The Display option determines how the GLOBAL statistics portion of the Global Summary screen is formatted. Two choices are available: graphical or tabular.
    GLOBAL statistics are discussed further in "GLOBAL".
    Changing Display Formats
    To change the GLOBAL statistics display format:
  • From the SOS Main Options Menu screen, select Display option. Press the Enter key.
  • Enter the option number (1 or 2):
  • To view a graphical display, type 1 (1-Graphic). Press the Enter key.
  • To view a tabular display, type 2 (2-Tabular). Press the Enter key.
  • Company name

    By default, the company name is not included in the SOS screens, reports or output. It can be added.
    Adding a Company Name to the SOS Banner
  • From the SOS Main Options Menu screen, select the Company name option. Press the Enter key.
  • At the next prompt, type a company name or system name (up to 43 alpha-numeric characters) to display just below the SOS banner.


  • Figure 7.6 SOS Company Name example (Lund Performance Solutions)

    Detail display options (SUBMENU)

    To access the Detail display options submenu screen:
  • From the SOS Main Options Menu screen, enter the command key for Detail display options. Press the Enter key.
  • Select one of the following submenu options:
  • 1) Global display options (SUBMENU)
  • 2) Process display options (SUBMENU)
  • 3) Pulse Points display options (SUBMENU)
  • 4) User display options (SUBMENU)
  • 5) Terminal display options (SUBMENU)
  • Each of these submenus is discussed further in the next section, "Detail Display Options".

    Detail Display Options

    Detail display options Submenu Screen

    To access the Detail display options submenu screen from any SOS display screen:
  • Type o from the SOS Enter command: prompt to view the SOS Main Option Menu screen.
  • From the SOS Main Option Menu screen. select Detail display options and press the Enter key. The Detail display options submenu screen will display.


  • Figure 7.7 SOS Detail display options submenu screen

    Detail display option Commands

    To open one of the Detail display submenus, use the following procedure.
  • From the Detail display options submenu screen, enter the command key number of the submenu to open.
  • Global display options (SUBMENU)
  • For information about this screen, see "Global display options Submenu Screen".
  • Process display options (SUBMENU)
  • For information about this screen, see "Process display options Submenu Screen".
  • Pulse Points display options (SUBMENU)
  • For information about this screen, see "Pulse Points display options".
  • User display options (SUBMENU)
  • For information about this screen, see "User Display Options".
  • Terminal display options (SUBMENU)
  • For information about this screen, see "Terminal Display Options".
  • Press the Enter key.
  • Global Display Options

    Global display options Submenu Screen

    To access the Global display options submenu screen from any SOS display screen:
  • Type o from the SOS Enter command: prompt to view the SOS Main Option Menu screen.
  • From the SOS Main Option Menu screen. select Detail display options and press the Enter key.
  • From the Detail display options submenu screen, select Global display options and press the Enter key. The Global display options submenu screen will display (Figure 7.8).


  • Figure 7.8 SOS Global display options submenu screen

    Global display option Commands

    To modify a global display option, either temporarily or permanently:
  • Type the option command key from the Global display options submenu screen and press the Enter key.
  • Enter a new parameter at the secondary command prompt. Press the Enter key.
  • Press Enter to exit the Global display options submenu screen.
  • Press Enter to exit the Detail display options submenu screen.
  • Press Enter to exit the SOS Main Options Menu screen.
  • At the Should these options be saved permanently? prompt:
  • Press the Enter key to return to the SOS program without saving the modifications permanently.
  • Type Y (Yes) to save the changes permanently and then press the Enter key.
  • Information about each of the global display options is provided to assist you.

    Display advice messages

    SYSTEM PERFORMANCE ADVICE messages displayed in the Global Summary screen deliver a basic interpretation of significant system performance events.


    Figure 7.9 SOS Global Summary screen: SYSTEM PERFORMANCE ADVICE messages
    Advice messages are discussed further in "SYSTEM PERFORMANCE ADVICE".
    Suppressing All Advice Messages
    To suppress all advice messages in the Global Summary screen:
  • From the Global display options submenu screen, select the Display advice messages option. Press the Enter key.
  • At the next prompt, enter N (No). Press the Enter key.
  • Display informational advice messages

    By default, SOS provides both informational and excessive use advice messages in the SYSTEM PERFORMANCE ADVICE section of the Global Summary screen.
  • An "I" in the message ID code (for example, CI01) denotes an informational advice message. Informational messages usually state current performance levels for the current interval.
  • An "E" in the message ID code (for example, ME01) denotes an excessive use advice message. This type of advice message alerts the user to a situation where system resources are overtaxed.
  • Suppressing Informational Advice Messages
    To suppress informational advice messages from the Global Summary screen:
  • From the Global display options submenu screen, select the Display informational advice messages option.
  • This option is available only when advice messages are displayed in the Global Summary screen. Press the Enter key.
  • At the next prompt, enter N (No). Press the Enter key.
  • Display memory information on global screen

    By default, the GLOBAL section of the Global Summary screen includes memory and virtual memory statistics. These statistics can be suppressed.


    Figure 7.10 SOS Global Summary screen: MEM/VM statistics
    Global memory statistics are discussed in "MEM/VM".
    Suppressing Memory Statistics
    To suppress memory statistics from the Global Summary screen:
  • From the Global display options submenu screen, select the Display memory information on global screen option, which is available only when the Global Summary screen is displayed in tabular format. Press the Enter key.
  • At the next prompt, enter N (No). Press the Enter key.
  • Display miscellaneous information on global screen

    Miscellaneous global information is provided in the GLOBAL section of the Global Summary screen. These statistics can be suppressed.


    Figure 7.11 SOS Global Summary screen: MISC statistics
    Global miscellaneous statistics are discussed further in "MISC".
    Suppressing Miscellaneous Global Statistics
    To suppress miscellaneous global statistics from the Global Summary screen:
  • From the Global display options submenu screen, select the Display miscellaneous information on global screen option, which is available only when the Global Summary screen is displayed in tabular format. Press the Enter key.
  • At the next prompt, enter N (No). Press the Enter key.
  • Display disk information on global screen

    Disk information is provided in the GLOBAL section of the Global Summary screen. This information can be suppressed.


    Figure 7.12 SOS Global Summary screen: DISK statistics
    Global disk statistics are discussed further in "DISK".
    Suppressing Disk Statistics
    To suppress disk statistics from the Global Summary screen:
  • From the Global display options submenu screen, select the Display disk information on global screen option, which is available only when the Global Summary screen is displayed in tabular format. Press the Enter key.
  • At the next prompt, enter N (No). Press the Enter key.
  • Maximum number of disks to display

    To set the maximum number of disks to display in the DISK portion of the Global Summary screen:
  • From the Global display options submenu screen, select the Maximum number of disks to display option, which is available only when the Global Summary screen is displayed in tabular format. Press the Enter key.
  • At the next prompt, enter the maximum number of disks to display (0-9999). Press the Enter key.
  • Display process information

    Process information is provided in the PROCESS SUMMARY section of the Global Summary screen.This information can be suppressed.


    Figure 7.13 SOS Global Summary screen: PROCESS SUMMARY
    Global process statistics are discussed further in "PROCESS SUMMARY".
    Suppressing PROCESS SUMMARY
    To suppress the PROCESS SUMMARY section of the Global Summary screen:
  • From the Global display options submenu screen, select the Display process information option. Press the Enter key.
  • At the next prompt, enter N (No). Press the Enter key.
  • Display workload information

    By default, information about application workloads is not included in the Global Summary screen graphical display. This information can be displayed.


    Figure 7.14 SOS Global Summary screen: WORKLOAD SUMMARY
    Workload statistics are discussed further in "WORKLOAD SUMMARY".
    Displaying Workload Summary Information
    To display workload information:
  • From the Global display options submenu screen, select the Display workload information option. Press the Enter key.
  • At the next prompt, enter Y (Yes). Press the Enter key.
  • Display only active workloads

    This Display only active workloads option is available only when workload information is displayed in the Global Summary screen.

    By default, all workloads defined in the workdefs (workload definitions) file are included in the WORKLOAD SUMMARY section of the Global Summary screen, even if they used 0.0% of the total CPU time in the current sample interval. The display can be configured to show only active workloads (workloads that used more than 0.0% of the total CPU time).
    Displaying Only Active Workloads
    To display active workloads and suppress inactive workloads in the Global Summary screen:
  • From the Global display options submenu screen, select the Display only active workloads option. Press the Enter key.
  • At the next prompt, enter Y (Yes). Press the Enter key.
  • CPU percentage required for workload display

    This option is available only when workload information is displayed in the Global Summary screen and eligibility is restricted to active workloads.

    When this option is disabled (default setting), all workloads that consumed 0.1% or more of the total CPU time in the current sample interval will be included in the WORKLOAD SUMMARY section of the Global Summary screen. A higher minimum CPU percentage can be specified.
    Resetting the Minimum CPU Requirement
    To set a new minimum CPU percentage requirement:
  • From the Global display options submenu screen, select the CPU percentage required for workload display option. Press the Enter key.
  • At the next prompt, enter a value from 0.1 to 100 percent. Press the Enter key.
  • Process Display Options

    Process display options Submenu Screen

    To access the Process display options submenu screen from any SOS screen:
  • Type o from the SOS Enter command: prompt to view the SOS Main Option Menu screen.
  • Ensure the Display process information option is enabled.
  • From the SOS Main Option Menu screen. select Detail display options and press the Enter key.
  • From the Detail display options submenu screen, select Process display options and press the Enter key. The Process Display Options submenu screen will display.


  • Figure 7.15 SOS Process display options submenu screen

    Process display option Commands

    To modify a process display option, either temporarily or permanently:
  • Type the option command key from the Process display options submenu screen and press the Enter key.
  • Enter a new parameter at the secondary command prompt. Press the Enter key.
  • Press Enter to exit the Process display options submenu screen.
  • Press Enter to exit the Detail display options submenu screen.
  • Press Enter to exit the SOS Main Options Menu screen.
  • At the Should these options be saved permanently? prompt:
  • Press the Enter key to return to the SOS program without saving the modifications permanently.
  • Type Y (Yes) to save the changes permanently and then press the Enter key.
  • Information about each of the process display options is provided to assist you.

    Display extended process line

    Additional process information can be displayed in the PROCESS SUMMARY section of the Global Summary screen. The extended PROCESS SUMMARY display includes:
  • An extended process line below each process line, which shows the percentage of time the corresponding process spent in each wait state.
  • The wait states column headings for the wait state statistics displayed in the extended process lines.

  •  
     
    Wait States Headings
    Process Line
    Extended Process Line
     
     
     
     
     
     
     

    Figure 7.16 SOS Global Summary screen: wait states headings & extended process lines
    The wait states headings line includes all possible wait states in which the current processes can spend CPU time ({PRI TPG DPG...}). For detailed information about each wait state, see Appendix , "SOS/SOLARIS Wait States."
    Extending the PROCESS SUMMARY
    To extend the PROCESS SUMMARY portion of the Global Summary screen:
  • From the Process display options submenu screen, select the Display extended process line option. Press the Enter key.
  • At the next prompt, enter Y (Yes). Press the Enter key.
  • Display total and I/O percentage instead of read/write counts

    The default column headings for the PROCESS SUMMARY section of the Global Summary screen are shown in Figure 7.17.


    Figure 7.17 SOS PROCESS SUMMARY column headings (default)
    Switching the PROCESS SUMMARY Column Headings
    To replace total reads (#Rd) with total I/O’s (#IO) and total writes (#Wr) with I/O percentage (IO%):
  • From the Process display options submenu screen, select the Display total and I/O percentage instead of read/write counts option. Press the Enter key.
  • At the next prompt, enter Y (Yes). Press the Enter key.
  • The new column headings are shown in Figure 7.18.


    Figure 7.18 SOS PROCESS SUMMARY column headings (alternative)

    Display only active processes

    An active process is defined as a process that used more than 0.0 percent of total CPU time during the current sample interval.
    By default, only active processes are included in the PROCESS SUMMARY section of the Global Summary screen. Inactive processes can be included.

    RECOMMENDATION The default setting, Y (display only active processes), is recommended.

    Displaying Both Active and Inactive Processes
    To display all processes currently on the system, both active and inactive:
  • From the Process display options submenu screen, select the Display only active processes option. Press the Enter key.
  • At the next prompt, enter N (No). Press the Enter key.
  • CPU percentage required for process display

    The CPU percentage required for process display option is possible when only active processes are included in the PROCESS SUMMARY portion of the Global Summary screen. This option enables you to set a minimum threshold value (a minimum percentage of CPU time) that a process must meet or exceed to be included in the PROCESS SUMMARY section of the Global Summary screen.

    The default parameter of 0.0 percent will allow all active processes in the current sample interval to be displayed, including processes in the run queue (even though they did not use any CPU time). Entering a greater threshold value, for example 10 percent, will exclude all active processes that used less than 10 percent of the total CPU time.

    RECOMMENDATION If you are doing general system monitoring, a CPU threshold value of less than 5.0 percent is recommended. If you are trying to pinpoint the top CPU "hog" processes, a value of 5.0 to 15.0 percent is recommended.

    Setting the CPU Percentage Required for a Process to Display
    To set the minimum CPU percentage:
  • From the Process display options submenu screen, select the CPU percentage required for process display option. Press the Enter key.
  • At the next prompt, enter a value between 0.0 and 100. Press the Enter key.
  • Display attached processes

    Interactive processes (processes attached to a terminal) are listed in the PROCESS SUMMARY section of the Global Summary screen. These processes can be suppressed.
    Suppressing Attached Processes
    To exclude attached processes from the screen display:
  • From the Process display options submenu screen, select the Display attached processes option. Press the Enter key.
  • At the next prompt, type N (No). Press the Enter key.
  • Display detached processes

    Batch and daemon processes (detached processes) are listed in the PROCESS SUMMARY section of the Global Summary screen. These processes can be suppressed.
    Suppressing Detached Processes
    To exclude detached processes from the screen display:
  • From the Process display options submenu screen, select the Display detached processes option. Press the Enter key.
  • At the next prompt, type N (No). Press the Enter key.
  • Display system processes

    Unix system processes include processes like spooling jobs, loading jobs and logging jobs that usually execute at a very high priority and consume little CPU time.

    System processes are listed in the PROCESS SUMMARY section of the Global Summary screen. These processes can be suppressed.
    Suppressing System Processes
    To exclude system processes from the screen display:
  • From the Process display options submenu screen, select the Display system processes option. Press the Enter key.
  • At the next prompt, type N (No). Press the Enter key.
  • Display processes which have died

    The PROCESS SUMMARY section displays all processes which have died. These processes are labeled "Dead" under the column heading, "Wait." These processes can be suppressed.
    Suppressing Dead Processes
    To exclude dead processes from the screen display:
  • From the Process display options submenu screen, select the Display processes which have died option. Press the Enter key.
  • At the next prompt, type N (No). Press the Enter key.
  • Process login filter

    The default login filter (.*) allows all users and all processes to be displayed on the SOS screens.
    Specifying a Process Login Filter
    To limit displayed processes to those of just one login:
  • From the Process display options submenu screen, select the Process login filter option. Press the Enter key.
  • At the next prompt, enter the logon using any acceptable regular expression. For example, to match the login, "root," you would type root at the next prompt. Press the Enter key.
  • For information about regular expressions, refer to the Unix manpage, "regexp," by typing man regexp at the shell prompt.

    Process sort option

    The process sort option enables the user to select the order in which the qualifying processes will be displayed. By default, the processes are sorted by the amount of CPU time they utilized in the current sample interval.
    Selecting a Process Sort Option
  • From the Process display options submenu screen, select Process sort option. Press the Enter key.
  • At the next prompt, type the key command that corresponds to the desired sort option (described in Table 7.1). Press the Enter key.
  • Table 7.1 SOS process sort options
    Option
    Sort Option Description
    Column
    1-PID#
    Sort by process identification number.
    PID
    2-Logon terminal
    Sort by terminal logon.
    Tty
    3-Workload group
    Sort by the application workload group to which the process belongs. (Displays in the WORKLOAD SUMMARY section of the Global Summary screen.)
    N/A
    4-CPU time
    Sort by the percentage of CPU time utilized by the process in the current sample interval.
    CPU%
    5-Disk I/O
    Sort by the total number of disk I/O’s incurred by the process.
    #IO
    6-Term reads
    Sort by the total number of terminal reads.
    N/A
    7-Priority
    Sort by process priority.
    Pri
    8-Wait state
    Sort by the activity or sleep state a process is in during the current sample interval.
    Wait

    Display processes sorted in ascending order

    By default, the processes displayed will be sorted in ascending order.
    Displaying Processes in Descending Order
    To sort and display processes in descending order:
  • From the Process display options submenu screen, select the Display processes sorted in ascending order option. Press the Enter key.
  • At the next prompt, type N (No). Press the Enter key.
  • Maximum number of processes to display

    To specify a maximum number of processes to be displayed:
  • From the Process display options submenu screen, select the Maximum number of processes to display option. Press the Enter key.
  • At the next prompt, enter a whole numeric value between 0 and 999.
  • For example, to show the ten processes that consume the most CPU time, set the following three parameters:
  • Set the Process sort option to 4-CPU time to sort the processes by CPU time utilized.
  • Set the Display processes sorted in ascending order option to N, to display the processes in descending order.
  • Set the Maximum number of processes to 10, to display the ten processes using the most CPU time. (The default value, 0, will allow all eligible processes to be displayed.)
  • Pulse Points display options

    Pulse Points display options Submenu Screen

    To access the Pulse Points display options submenu screen from any SOS display screen:
  • Type o from the SOS Enter command: prompt to view the SOS Main Option Menu screen.
  • Ensure the Display process information option is enabled.
  • From the SOS Main Option Menu screen. select Detail display options and press the Enter key.
  • From the Detail display options submenu screen, select Pulse Points display options and press the Enter key. The Pulse Points display options submenu screen will display (Figure 7.19).


  • Figure 7.19 SOS Pulse Points display options submenu screen

    Pulse Points display option Commands

    To modify a pulse points display option, either temporarily or permanently:
  • Type the option command key from the Pulse Points display options submenu screen and press the Enter key.
  • Enter a new parameter at the secondary command prompt. Press the Enter key.
  • Press Enter to exit the Pulse Points display options submenu screen.
  • Press Enter to exit the Detail display options submenu screen.
  • Press Enter to exit the SOS Main Options Menu screen.
  • At the Should these options be saved permanently? prompt:
  • Press the Enter key to return to the SOS program without saving the modifications permanently.
  • Type Y (Yes) to save the changes permanently and then press the Enter key.
  • Information about each of the pulse points display options is provided to assist you.

    Display CPU stats

    CPU statistics are displayed in the Pulse Points screen.

     
     
     
     
    CPU Stats
     
    Memory Stats
     
     
    Disk I/O Stats
     
     
    Network Stats
     
     
     
     
     
     
     
     
     

    Figure 7.20 SOS Pulse Points screen
    Suppressing CPU Statistics
    To suppress CPU statistics from the Pulse Points screen:
  • From the Pulse Points display options submenu screen, select the Display CPU stats option. Press the Enter key.
  • At the next prompt, type N (No). Press the Enter key.
  • Display memory stats

    Memory statistics are displayed in the Pulse Points screen (refer to Figure 7.20).
    Suppressing Memory Statistics
    To suppress memory statistics from the Pulse Points screen:
  • From the Pulse Points display options submenu screen, select the Display memory stats option. Press the Enter key.
  • At the next prompt, type N (No). Press the Enter key.
  • Display disk I/O stats

    Disk I/O statistics are displayed in the Pulse Points screen. To see an example of this screen, refer to Figure 7.20.
    Suppressing Disk I/O Statistics
    To suppress disk I/O statistics from the Pulse Points screen:
  • From the Pulse Points display options submenu screen, select the Display disk I/O stats option. Press the Enter key.
  • At the next prompt, type N (No). Press the Enter key.
  • Display network stats

    Network statistics are displayed in the Pulse Points screen.
    Suppressing Network Statistics
    To suppress network statistics from the Pulse Points screen:
  • From the Pulse Points display options submenu screen, select the Display network stats option. Press the Enter key.
  • At the next prompt, type N (No). Press the Enter key.
  • Display miscellaneous stats

    Miscellaneous statistics, when available, are displayed in the Pulse Points screen. (Miscellaneous statistics are not displayed in the example in Figure 7.20.)
    Suppressing Miscellaneous Statistics
    To suppress miscellaneous statistics from the Pulse Points screen:
  • From the Pulse Points display options submenu screen, select the Display miscellaneous stats option. Press the Enter key.
  • At the next prompt, type N (No). Press the Enter key.
  • User Display Options

    User display options Submenu Screen

    To access the User display options submenu screen from any SOS display screen:
  • Type o from the SOS Enter command: prompt to view the SOS Main Option Menu screen.
  • Ensure the Display process information option is enabled.
  • From the SOS Main Option Menu screen, select Detail display options and press the Enter key.
  • From the Detail display options submenu screen, select User display options and press the Enter key. The User display options submenu will appear (Figure 7.21).


  • Figure 7.21 SOS User display options submenu screen

    User display option Commands

    The purpose of the user display options is to fine tune the information in the User Summary screen (discussed in "SOS User Summary").
    To modify a user display option, either temporarily or permanently:
  • Type the option command key from the User display options submenu screen and press the Enter key.
  • Enter a new parameter at the secondary command prompt. Press the Enter key.
  • Press Enter to exit the User display options submenu screen.
  • Press Enter to exit the Detail display options submenu screen.
  • Press Enter to exit the SOS Main Options Menu screen.
  • At the Should these options be saved permanently? prompt:
  • Press the Enter key to return to the SOS program without saving the modifications permanently.
  • Type Y (Yes) to save the changes permanently and then press the Enter key.
  • Information about each of the user display options is provided to assist you.

    CPU percentage required for user display

    The CPU percentage required for user display option is used to filter out less-active users from the User Summary display. The option is specified as a percentage (0.0-100). The default setting is .0 (zero) percent, which means that processes that use 0 percent or more of CPU time will be displayed and no users will be filtered out.

    RECOMMENDATION If you are performing general system monitoring, a CPU threshold value of less than 5.0 percent is recommended. If you are trying to pinpoint the top CPU "hog" processes, a value of 5.0 to 15.0 percent is recommended.

    Setting the CPU Percentage Required for a User Name to Display
    To set the minimum CPU percentage:
  • From the User display options submenu screen, select the CPU percentage required for user display option. Press the Enter key.
  • At the next prompt, enter a value between 0.0 and 100. Press the Enter key.
  • User logon filter

    The User logon filter is used to sort out specific users from the User Summary display. The default setting, .* (meaning match any number of any character), will allow all user names to be listed in the User Summary screen.
    Specifying a User Login Filter
    To limit displayed users to those of a single login:
  • From the User display options submenu screen, select the User login filter option. Press the Enter key.
  • At the next prompt, type that user name logon filter (using Unix regular expression syntax) at the User logon filter prompt. For example, to limit the eligible user process to root users, type root. Press the Enter key.
  • For information about regular expressions, refer to the Unix manpage, "regexp," by typing man regexp at the shell prompt.

    User sort option

    The User sort option applies a specific sort option to the users displayed in the User Summary screen. The default, 3-CPU time, sorts the report lines on the screen by the percentage of CPU time utilized by each process in the most-recent interval.
    Selecting a User Sort Option
  • From the User display options submenu screen, select User sort option. Press the Enter key.
  • At the next prompt, type the key command that corresponds to the desired sort option (described in Table 7.2). Press the Enter key.
  • Table 7.2 SOS user sort options
    Sort Option
    Description
    1-User Name
    Sort users alphabetically by the login name of the user.
    2-UID
    Sort users by the user ID number from /etc/passwd.
    3-CPU time
    Sort users by the amount of CPU time utilized during the last interval.
    4-Phys I/O
    Sort users by the number of physical I/O’s accumulated in the last interval.
    5-Term I/O
    Sort users by the number of terminal I/O’s accumulated in the last interval.
    6-Process
    Sort users by process name.
    7-Real Memory RSS / (KB)
    Sort users according to real memory usage.
    8-Virtual Memory VSS / (KB)
    Sort users according to virtual memory usage.

    Display users sorted in ascending order

    This parameter determines whether the sort order for the sort option applied in Option 3 is ascending or descending. By default, the users will be sorted and displayed in descending order.
    Displaying Users in Ascending Order
    To sort and display processes in ascending order:
  • From the Process display options submenu screen, select the Display users sorted in ascending order option. Press the Enter key.
  • At the next prompt, type Y (Yes). Press the Enter key.
  • Maximum number of users to display

    This setting determines the maximum number of users to be listed in the User Summary screen. The default setting, 0 (zero), allows all users to be displayed.

    To specify a maximum number of processes to be displayed in the User Summary screen:
  • From the User display options submenu screen, select the Maximum number of users to display option. Press the Enter key.
  • At the next prompt, enter a whole numeric value between 0 and 999.
  • Terminal Display Options

    Terminal display options Submenu Screen

    To access the Terminal display options submenu screen from any SOS display screen:
  • Type o from the SOS Main Option Menu screen.
  • Ensure the Display process information option is enabled.
  • From the SOS Main Option Menu screen. select Detail display options and press the Enter key.
  • From the Detail display options submenu screen, select Terminal display options and press the Enter key. The Terminal Display Options submenu screen will display (Figure 7.22).


  • Figure 7.22 SOS Terminal display options submenu screen

    Terminal display option Commands

    The purpose of the terminal display options is to fine-tune the information in the Terminal Summary screen (discussed in "SOS Terminal Summary").
    To modify a terminal display option, either temporarily or permanently:
  • Type the option command key from the Terminal display options submenu screen and press the Enter key.
  • Enter a new parameter at the secondary command prompt. Press the Enter key.
  • Press Enter to exit the Terminal display options submenu screen.
  • Press Enter to exit the Detail display options submenu screen.
  • Press Enter to exit the SOS Main Options Menu screen.
  • At the Should these options be saved permanently? prompt:
  • Press the Enter key to return to the SOS program without saving the modifications permanently.
  • Type Y (Yes) to save the changes permanently and then press the Enter key.
  • Information about each of the terminal display options is provided to assist you.

    Filter getty processes from terminal display

    A getty process is a process that waits for a login, which corresponds to an inactive terminal. The default setting, Y, filters out the getty processes and displays only the active terminals in the Terminal Summary screen.
    Including Getty Processes
    To include getty processes as well as active terminals in the Terminal Summary screen:
  • From the Terminal display options submenu screen, select the Filter getty processes from the terminal display option. Press the Enter key.
  • At the next prompt, type N (No). Press the Enter key.
  • Terminal sort option

    This setting applies a specific sort option to the terminals displayed in the Terminal Summary screen. The default setting, 1-Terminal, sorts the report lines on the screen by terminal device name.
    Selecting a Terminal Sort Option
  • From the Terminal display options submenu screen, select Terminal sort option. Press the Enter key.
  • At the next prompt, type the key command that corresponds to the desired sort option (described in Table 7.3). Press the Enter key.
  • Table 7.3 SOS terminal sort options
    Sort Option
    Description
    1-Terminal
    Sort terminals by the terminal device name.
    2-User Name
    Sort terminals by the login user name.
    3-Login Time
    Sort terminals according to the time of login.
    4-Idle Time
    Sort terminals according to the current idle time.
    5-Processes
    Sort terminals according to the number of processes attached to the terminal.
    6-TTY In Count
    Sort terminals according to the number of characters input on the terminal.
    7-TTY Out Count
    Sort terminals according to the number of characters output on the terminal.

    Display terminals sorted in ascending order

    This setting determines whether the sort order for the sort option applied in the previous option is ascending or descending. By default, the terminals will be sorted and displayed in descending order.
    Displaying Terminals in Ascending Order
    To sort and display terminals in ascending order:
  • From the Terminal display options submenu screen, select the Display terminals sorted in ascending order option. Press the Enter key.
  • At the next prompt, type Y (Yes). Press the Enter key.
  • Maximum number of terminals to display

    This setting determines the maximum number of terminals to be listed in the Terminal Summary screen. The default setting, 0 (zero), allows all users to be displayed.
    To specify a maximum number of processes to be displayed in the Terminal Summary screen:
  • From the Terminal display options submenu screen, select the Maximum number of terminals to display option. Press the Enter key.
  • At the next prompt, enter a whole numeric value between 0 and 999.

  • Lund Performance Solutions
    www.lund.com
    Voice: (541) 812-7600
    Fax: (541) 81207611
    info@lund.com
    TOCPREVNEXTINDEX