User report

The User report displays the memory usage statistics for all specified login name or when no argument is specified for all users.

To print the user report, specify the -U flag. This report contains all the columns detailed in the common summary metrics as well as its own defined here:

User
Indicates the user name
If processes owned by this user use pages of a size other than the base 4 KB page size, and the -O pgsz=on option is set, these statistics are followed by breakdown statistics for each page size. The metrics reported in this per-page size summary are reported in the page size unit by default.
Note:
  • If you specify the -@ flag without an argument, these statistics will be followed by the users assignments to WPARs. This information is shown with an additional WPAR column displaying the WPAR name where the user was found.
  • If you specify the -O activeusers=on option, users which do not use memory (Inuse memory is 0 page) are not shown in the report.
Examples
  1. To display per user memory consumption statistics, enter:
    # svmon -U
    Unit: page
    ===============================================================================
    User                                 Inuse      Pin     Pgsp  Virtual
    root                                 56007    16070        0    54032
    daemon                               14864     7093        0    14848
    guest                                14705     7087        0    14632
    bin                                      0        0        0        0
    sys                                      0        0        0        0
    adm                                      0        0        0        0
    uucp                                     0        0        0        0
    nobody                                   0        0        0        0

    This command gives a summary of all the users using memory on the system. This report uses the default sorting key: the Inuse column. Since no -O option was specified, the default unit (page) is used. Each page is 4 KB.

    The Inuse column, which is the total number of pages in real memory from segments that are used by all the processes of the root user, shows 56007 pages. The Pin column, which is the total number of pages pinned from segments that are used by all the processes of the root user, shows 16070 pages. The Pgsp column, which is the total number of paging-space pages that are used by all the processes of the root user, shows 0 pages. The Virtual column (total number of pages in the process virtual space) shows 54032 pages for the root user.

  2. To display per WPAR per active user memory consumption statistics, enter:
    # svmon -U -O summary=basic,activeusers=on -@ ALL
    Unit: auto
    
    ###############################################################################
    ######## WPAR : Global
    ###############################################################################
    ===============================================================================
    User                                 Inuse      Pin     Pgsp  Virtual
    root                               155.49M    49.0M       0K  149.99M
    daemon                               69.0M    34.8M       0K    68.9M
    
    ###############################################################################
    ######## WPAR : wp0
    ###############################################################################
    ===============================================================================
    User                                 Inuse      Pin     Pgsp  Virtual
    root                               100.20M    35.4M       0K    96.4M
    
    ###############################################################################
    ######## WPAR : wp1
    ###############################################################################
    ===============================================================================
    User                                 Inuse      Pin     Pgsp  Virtual
    root                               100.20M    35.4M       0K    96.4M
    
    ###############################################################################
    ######## WPAR : wp2
    ###############################################################################
    ===============================================================================
    User                                 Inuse      Pin     Pgsp  Virtual
    root                               100.14M    35.4M       0K    96.3M

    In this case, we run in each WPAR context and we want some details about every users in all the WPARs running on the system. Since there are users that are not active, we want to keep only the active user by adding the -O activeusers=on option on the command line. Each WPAR has a root user, which in this example consumes the same amount of memory since each one runs the exact same list of processes. The root user of the Global WPAR uses more memory since more processes are running in the Global than in a WPAR.