User Tools

Site Tools


aix:workloadmanager

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
aix:workloadmanager [2024/02/06 21:46]
manu
aix:workloadmanager [2024/04/08 18:01] (current)
manu
Line 60: Line 60:
   wlmstat 3 100   wlmstat 3 100
   nmon (then option W)   nmon (then option W)
 +  topas
   ​   ​
 +<cli prompt='>'>​
 +root@prod /root> topas –W
 +Topas Monitor for host: srv-aix-001nterval:​ 2      Fri Apr 17 09:08:56 2015
 +WLM-Class (Passive) ​            ​CPU% ​     Mem%     ​Blk-I/​O%
 +clBP1                        24.70     ​30.67 ​        1.31
 +System ​                         0.59     ​34.76 ​        0.00
 +clPX6                        10.12     ​14.86 ​        0.00
 +Default ​                        ​0.03 ​     4.48         0.00
 +Unmanaged ​                      ​0.01 ​    ​26.58 ​        0.00
 +Shared ​                         0.00      7.18         0.00
 +Unclassified ​                   0.00      0.18         0.00
 +</​cli>​
 +
 Check your process class Check your process class
 <cli prompt='>'>​ <cli prompt='>'>​
-root@prod /root> ps -ae -o pid,​user,​class,​args +root@prod /root> ps -ae -o pid,​user,​class,​args,pcpu,vsz 
-     ​PID ​    USER CLASS        COMMAND +     ​PID ​    USER CLASS        COMMAND ​                          %CPU   ​VSZ ​                                                                                     ​ 
-       ​1 ​    ​root ​Unclassified ​/etc/init +       ​1 ​    ​root ​System ​      /​etc/​init ​                        0.0   ​804 ​                                                                                                                 
- 2949328 ​    root Unclassified ​/​usr/​sbin/​syncd 60 +  ​590300 ​    root System ​      /​usr/​sbin/​syncd 60                ​0.0 ​  ​596 ​                                                                                                                 
- 3211498 ​    root Unclassified ​/​usr/​ccs/​bin/​shlap64 + 2621880 ​    root System ​      /​usr/​ccs/​bin/​shlap64 ​             ​0.0 ​  ​392 ​                                                                                                                 
- 3801296 ​    root Unclassified ​/​usr/​lib/​errdemon + 3867110 ​    root System ​      /​usr/​lib/​errdemon ​                0.0   ​928 ​                                                                                                                 
- 4653308 ​    root Unclassified ​/usr/sbin/portmap + 4325632 ​    root System ​      /usr/sbin/srcmstr ​                ​0.0 ​  ​816 ​                                                                                                                 
- 4849858 ​    root Unclassified ​/usr/sbin/snmpd + 5570884 ​    root Default ​     iostat -Dsal 60 1                 ​0.0 ​  ​844 ​                                                                                                                 
- 7209188 ​    root System ​      /​usr/​sbin/​smbd -+ ​5636536 ​    root System ​      /usr/sbin/xntpd                   ​0.0 ​  ​388 ​                                                                                                                 
- ​7274732 ​  ​nobody ​System ​      /​usr/​sbin/​smbd -D + 5833142 ​    root System ​      /​usr/​sbin/​syslogd ​-r -n           ​0.0 ​  ​820                                                                                                                  
- 7340260 ​    root System ​      /opt/rsct/bin/rmcd -a IBM.LPCommands -r -S 1500 + ​5898680 ​    ​root ​System ​      /​usr/​sbin/​portmap ​                ​2.0 ​ 1004                                                                                                                  
- 7405804 ​    root System ​      [trspoolm] + 5964220 ​    root System ​      /usr/sbin/aso                     ​0.0 ​ 1396                                                                                                                  
- 7471338 ​    root System ​      ./mflm_manager + ​6029626 ​     mqm Default ​     sshd: mqm@pts/1                   0.1  1188                                                                                                                  
- ​7602278 ​     ek  Default ​     CONS3 + 6095302 ​    root System ​      /​usr/​sbin/​biod 6                  0.0   ​120 ​                                                                                                                 
- 7667888 ​     ew  Default ​     TH + 6423002 ​    root System ​      /usr/​sbin/​pfcdaemon ​              ​0.0 ​ 1172                                                                                                                  
- ​7733346 ​     ek  Default ​     THC + 6488524 ​    root System ​      /​usr/​sbin/​nfsrgyd ​                ​3.0 ​ 1352                                                                                                                  
- 7798796 ​    root System ​      /​opt/​rsct/​bin/​IBM.MgmtDomainRMd + 6816036 ​    root System ​      /​opt/​rsct/​bin/​IBM.DRMd            0.0  1696                                                                                                                  
- 7864420 ​    root System ​      /opt/rsct/bin/IBM.ServiceRMd + 6881784 ​    root System ​      /usr/sbin/sshd                    0.0  1196                                                                                                                  
- 7929868 ​    root System ​      ​/opt/rsct/bin/IBM.HostRMd+</cli> 
 + 
 +Print memory in MB 
 +<cli prompt='>'>​ 
 +root@prod /root> ps -ae -o pid,​user,​class,​pcpu,​vsz,​args | awk '​{$5=int(100 * $5/​1024)/​100"​MB";​}{ print;​}'​ 
 +PID USER CLASS %CPU 0MB COMMAND 
 +1 root System 0.0 0.8MB /etc/init 
 +2884068 ​root System ​0.0 0.58MB ​/usr/sbin/syncd 60 
 +3342724 root System 0.0 0.38MB /usr/ccs/bin/shlap64 
 +3604962 root System 0.0 0.9MB /​usr/​lib/​errdemon
 </​cli>​ </​cli>​
  
Line 205: Line 228:
 app3 0 1 1 06 -1 0 100 100 100 100 0 0 app3 0 1 1 06 -1 0 100 100 100 100 0 0
 </​cli>​ </​cli>​
 +
 +===== Example of config =====
 +
 +<cli prompt='>'>​
 +root@aixtest /​etc/​wlm/​current>​ cat /​etc/​wlm/​current/​classes
 +System:
 +
 +Default:
 +
 +splunk:
 +        inheritance = "​yes"​
 +        authuser = "​splunk"​
 +
 +root@aixtest /​etc/​wlm/​current>​ cat /​etc/​wlm/​current/​limits
 +System:
 +        memory = 1%-100%;​100%
 +splunk:
 +        CPU    = 0%-10%;10%
 +
 +root@aixtest /​etc/​wlm/​current>​ cat /​etc/​wlm/​current/​rules
 +* class resvd user group application type tag
 +splunk ​  ​- ​   splunk -    -           ​- ​  -
 +System ​  ​- ​   root   ​- ​   -           ​- ​  -
 +Default ​ -    -      -    -           ​- ​  -
 +
 +root@aixtest /​etc/​wlm/​current>​ cat /​etc/​wlm/​current/​shares
 +* IBM_PROLOG_BEGIN_TAG
 +</​cli>​
 +
aix/workloadmanager.1707252379.txt.gz · Last modified: 2024/02/06 21:46 by manu