cla subcommand

The cla subcommand displays Workload Manager (WLM) class statistics and configuration information.

Format

cla * [select#]

cla [classid]

Parameters

Item Description
* Displays the menu if the select# parameter is not specified.
select# Displays the class statistics for the selected number.
  • 1 – CPU for all classes
  • 2 – Mem for all classes
  • 3 – Mem for superclasses
  • 4 – CPU for all classes
  • 5 – Mem for one superclass
  • 6 – BIO use for all classes
  • 7 – BIO use for active classes
  • 8 – BIO use, per-disk, for all classes
  • 9 – Totals for all classes and all resources
classid Displays configuration information for the specified class identifier.

Other

class

Examples

The following is an example of how to use the cla subcommand completed by using the menu:

KDB(0)> cla *
WLM CLASSes
Select the criteria to display by:
 1) CPU use
 2) MEM use
 3) MEM use over superclasses
 4) Superclasses only
 5) MEM use inside a superclass
 6) BIO use
 7) BIO use (show actives classes for all disks)
 8) BIO use (show classes for all disks)
 9) Total Resources
Enter your choice: 1
  (wlm is ON)
                TIER  %% MIN SHA SMAX HMAX DES  RAP URAPH URAP URAPL PRI NT         TB    TOTALTB 
[  0]:           Unclassified   0   0   0  -1  100  100 100  100     0    0   194  10  0 0x00000000 0x00000000 
[ 64]:              Unmanaged   0   0   0  -1  100  100 100  100     0    0   194  10  0 0x00000000 0x00000000 
[128]:                Default   0   0   0  -1  100  100 100  100     0    0   194   0  0 0x00000000 0x00000000 
[129]:        Default.Default   0   0   0  -1  100  100 100  100     0    0    97   0  1 0x00000000 0x00000000 
[130]:         Default.Shared   0   0   0  -1  100  100 100  100     0    0    97   0  1 0x00000000 0x00000000 
[192]:                 Shared   0   0   0  -1  100  100 100  100     0    0   194   0  0 0x00000000 0x00000000 
[193]:         Shared.Default   0   0   0  -1  100  100 100  100     0    0    97   0  1 0x00000000 0x00000000 
[194]:          Shared.Shared   0   0   0  -1  100  100 100  100     0    0    97   0  1 0x00000000 0x00000000 
[256]:                 System   0   1   0  -1  100  100 100  100     0    0   194   0  0 0x000043A8 0x00000000 
[257]:         System.Default   0   1   0  -1  100  100 100  100     0    0    97   0  1 0x000043A8 0x00001DB5 
[258]:          System.Shared   0   0   0  -1  100  100 100  100     0    0    97   0  1 0x00000000 0x00000000 
[320]:                  Test1   0   0   0  -1  100  100 100  100     0    0   194   0  0 0x00000000 0x00000000 
[321]:          Test1.Default   0   0   0  -1  100  100 100  100     0    0    97   0  1 0x00000000 0x00000000 
[322]:           Test1.Shared   0   0   0  -1  100  100 100  100     0    0    97   0  1 0x00000000 0x00000000 

Display configuration for class 256

KDB(0)> cla 256
System (valid) wlm is DoClassif CpuAcct CpuRegul MemAcct MemRegul BioAcct BioRegul TotalCpuAcct TotalCpuRegul 
TotalDiskioAcct TotalDiskioRegul TotalConnectAcct TotalConnectRegul TotalProcAcct TotalProcRegul TotalThrdAcct 
 TotalThrdRegul TotalLoginAcct TotalLoginRegul
              SLOT TIER ETIER N_ETIER INH USE
   ccb+000800  256    0     0       1  0  52
     admin_Xid = (-1/-1)     assign_Xid = (-1/-1)
        perm_flag = 0x00000000   wlmsched_act = 0x00000000
        nb_subclass =  2        nb_loaded_subclasses =  0
        loaded = 0      rset = 0x0000000000000000
        fixed_target = 1        change_level = 3
       key = 0xDCA6910C4BFFD374
   TIER  %% MIN SHA SMAX HMAX DES  RAP URAPH URAP URAPL SRAP  SRAP              CUM%%              TOTAL    HIGH WATER MARK 
cpu:  0   1   0  -1  100  100 100  100     0    0   194    0     0 0x000000000000008A 0x0000000000000BB8 0x0000000000000001 
mem:  0   8   1  -1  100  100  99   85     0   76  1023   76    38 0x0000000000000468 0x0000000000000000 0x00000000000072E8 
dio:  0   0   0  -1  100  100 100  100     0    0  1023    0     0 0x0000000000000002 0x00000000000002E8 0x0000000000000001 
        TOTAL RESOURCES
                   MAX    CONSUM
procs:              -1        52
thds:               -1       129
logs:               -1         4
tcpu:(TB)           -1         -
tdio:(512KB)        -1         -
ctime:(sec)         -1         -
        RESOURCES SPECIFIC DATA 
      PRI NT         TB    TOTALTB MEAN       &ACT DELTA 
cpu:    0  0 0x000043A8 0x00000000    1 0x02086A44     0 
         PAGES     NSTL    LRUPO     COMP   CLIENT    COMPR   REDTHR   WAITLIST            MEMTIME 
mem:     29326        0        0    23946        0        0 9223372036854775807 0x00000000 0x00000000003F249D 
        CPU ACTIVITY HISTORY 
     0<  0   0   0   0   0   0   0   0   0   0   0   0   0   0 
     0   0   0   0   0   0   0   0   0   0   0   0   0   0   0 
     0   0   0   0   0   0   0   0   0   0   0   0   0   0   0 
     0   0   0   0   0   0   0   0   0   0   0   0   0   0   0 
pages:29326 - pages*time:0x3F249D
-------------------------------------------------------------------------------

Display CPU statistics for all classes

KDB(0)> cla * 1
  (wlm is ON)                     TIER  %% MIN SHA SMAX HMAX DES  RAP URAPH URAP URAPL PRI NT         TB    TOTALTB 
[  0]:                Unclassified   0   0   0  -1  100  100 100  100     0    0   194  10  0 0x00000000 0x00000000 
[ 64]:                   Unmanaged   0   0   0  -1  100  100 100  100     0    0   194  10  0 0x00000000 0x00000000 
[128]:                     Default   0   0   0  -1  100  100 100  100     0    0   194   0  0 0x00000000 0x00000000 
[129]:             Default.Default   0   0   0  -1  100  100 100  100     0    0    97   0  6 0x00000000 0x00000000 
[130]:              Default.Shared   0   0   0  -1  100  100 100  100     0    0    97   0  6 0x00000000 0x00000000 
[192]:                      Shared   0   0   0  -1  100  100 100  100     0    0   194   0  0 0x00000000 0x00000000 
[193]:              Shared.Default   0   0   0  -1  100  100 100  100     0    0    97   0  6 0x00000000 0x00000000 
[194]:               Shared.Shared   0   0   0  -1  100  100 100  100     0    0    97   0  6 0x00000000 0x00000000 
[256]:                      System   0   7   0  -1  100  100 100   86     0   13   194  13  0 0x0000648F 0x00000000 
[257]:              System.Default   0   7   0  -1  100  100 100   86     6   13   103  13  6 0x0000648F 0x00000F1F 
[258]:               System.Shared   0   0   0  -1  100  100 100  100     6    6   103   6  6 0x00000000 0x00000000 
[320]:                       Test1   0  58   0   3  100  100  55   -2     0   98   194  98  0 0x000508DA 0x00000000 
[321]:               Test1.Default   0   0   0  -1  100  100 100  100    49   49   146  49  6 0x00000000 0x00000000 
[322]:                Test1.Shared   0   0   0  -1  100  100 100  100    49   49   146  49  6 0x00000000 0x00000000 
[323]:                  Test1.Sub1   0  42   0   8  100  100  80    2    49   96   146  96  4 0x0002C44A 0x00004373 
[324]:                  Test1.Sub2   0  16   0   2  100  100  20  -18    49  106   146 106  4 0x00024490 0x00003740 
[384]:                       Test2   0  34   0   2  100  100  37    4     0   93   194  93  0 0x0000AC61 0x00000000 
[385]:               Test2.Default   0   0   0  -1  100  100 100  100    46   46   143  46  6 0x00000000 0x00000000 
[386]:                Test2.Shared   0   0   0  -1  100  100 100  100    46   46   143  46  6 0x00000000 0x00000000 
[387]:                  Test2.Sub1   0  21   0   7  100  100  70   11    46   89   143  89  6 0x0000AC61 0x000012D3 
[388]:                  Test2.Sub2   0  13   0   3  100  100  30   -7    46   98   143  98  6 0x00000000 0x00000000 
[448]:                       Test3   0   0   0   1  100  100 100  100     0    0   194   0  0 0x00000000 0x00000000 
[449]:               Test3.Default   0   0   0  -1  100  100 100  100     0    0    97   0  6 0x00000000 0x00000000 
[450]:                Test3.Shared   0   0   0  -1  100  100 100  100     0    0    97   0  6 0x00000000 0x00000000 
[512]:                       Test4   0   0   0  -1  100  100 100  100     0    0   194   0  0 0x00000000 0x00000000 
[513]:               Test4.Default   0   0   0  -1  100  100 100  100     0    0    97   0  6 0x00000000 0x00000000 
[514]:                Test4.Shared   0   0   0  -1  100  100 100  100     0    0    97   0  6 0x00000000 0x00000000 

Column            Description
First column      The first column is the class ID.  The superclass IDs are a multiple of 64, with 
                  subclass IDs following numerically.
Second column     The second column is the class name.  Subclass names have the format <Supername.Subname>.
TIER              The tier number for the class.  The tier for a superclass is the supertier.  The tier 
                  for a subclass is the subtier.
%%                The current consumption percentage for the class for the resource being displayed.
MIN               The user-defined minimum limit for the class (default is 0).
SHA               The user-defined number of shares for the class. (default is -1, unregulated)
SMAX              The user-defined soft maximum limit for the class. (default is 100)
HMAX              The user-defined hard maximum limit for the class. (default is 100)
DES               The desired or target percentage for the class.
RAP               The Resource Access Priority for the class.       This is a value in the range [-100..100].
URAPH             The highest URAP value the class can attain.
URAP              The current URAP value for the class.
URAPL             The lowest URAP value the class can attain.
PRI               The class priority.
NT                Index of next available table entry for CPU consumption samples.
TB                Timebase units of consumption for the last second.
TOTALTB           Decayed total timebase units of consumption.