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
aix:workloadmanager [2024/02/14 12:33]
manu
aix:workloadmanager [2024/04/08 18:01] (current)
manu
Line 95: Line 95:
  ​6816036 ​    root System ​      /​opt/​rsct/​bin/​IBM.DRMd ​           0.0  1696                                                                                                                   ​6816036 ​    root System ​      /​opt/​rsct/​bin/​IBM.DRMd ​           0.0  1696                                                                                                                 
  ​6881784 ​    root System ​      /​usr/​sbin/​sshd ​                   0.0  1196                                                                                                                   ​6881784 ​    root System ​      /​usr/​sbin/​sshd ​                   0.0  1196                                                                                                                 
 +</​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 218: 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.1707910397.txt.gz ยท Last modified: 2024/02/14 12:33 by manu