This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
aix [2018/09/11 15:38] ss_wiki_admin |
aix [2019/09/16 16:09] (current) |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| </ | </ | ||
| - | == Start Sendmail == | + | == Sendmail == |
| <code bash> | <code bash> | ||
| + | # show sendmail status | ||
| + | lssrc -c sendmail | ||
| + | |||
| startsrc -s sendmail -a "-bd -q30m" | startsrc -s sendmail -a "-bd -q30m" | ||
| + | |||
| </ | </ | ||
| + | |||
| + | <code bash> | ||
| + | | ||
| + | ps -fk | grep wait | ||
| + | |||
| + | vmstat -v | ||
| + | 5505024 memory pages | ||
| + | 5331905 lruable pages | ||
| + | 41883 free pages | ||
| + | 1 memory pools | ||
| + | 1302902 pinned pages | ||
| + | 80.0 maxpin percentage | ||
| + | 3.0 minperm percentage | ||
| + | 90.0 maxperm percentage | ||
| + | 4.0 numperm percentage | ||
| + | | ||
| + | 0.0 compressed percentage | ||
| + | 0 compressed pages | ||
| + | 4.0 numclient percentage | ||
| + | 90.0 maxclient percentage | ||
| + | | ||
| + | 0 remote pageouts scheduled | ||
| + | 390 pending disk I/Os blocked with no pbuf | ||
| + | | ||
| + | 2236 filesystem I/Os blocked with no fsbuf | ||
| + | | ||
| + | 2882029 external pager filesystem I/Os blocked with no fsbuf | ||
| + | 95.3 percentage of memory used for computational pages | ||
| + | |||
| + | |||
| + | [srvbd1]root]/ | ||
| + | |||
| + | System configuration: | ||
| + | |||
| + | | ||
| + | ------- --------------------- ------------------------------------ ------------------ ----------- -------- | ||
| + | r | ||
| + | 0 | ||
| + | 0 | ||
| + | 0 | ||
| + | 0 | ||
| + | | ||
| + | [srvbd1]root]/ | ||
| + | | ||
| + | memory | ||
| + | pg space 2097152 | ||
| + | |||
| + | | ||
| + | pin 314839 | ||
| + | in use | ||
| + | |||
| + | PageSize | ||
| + | s 4 KB - | ||
| + | m 64 KB - | ||
| + | |||
| + | |||
| + | [srvbd1]root]/ | ||
| + | INSTALLED RESOURCE LIST | ||
| + | </ | ||
| + | |||
| + | ==== Monitoring ==== | ||
| + | nmon | ||
| + | mpstat | ||
| + | sar | ||
| + | |||
| + | == Processor Binding == | ||
| + | <code bash> | ||
| + | bindprocessor -q | ||
| + | The available processors are: 0 1 | ||
| + | |||
| + | bindprocessor 14662 1 | ||
| + | |||
| + | ps -emo THREAD | grep p1 | ||
| + | |||
| + | #unbind | ||
| + | bindprocessor -u 14662 | ||
| + | </ | ||
| + | |||
| + | == SMT (Simultaneous Multithreading) == | ||
| + | You can enable or disable SMT by running the smtctl command.\\ | ||
| + | |||
| + | <code bash> | ||
| + | smtctl [ -m off | on [ -w boot | now]] | ||
| + | |||
| + | The following options are available: | ||
| + | |||
| + | -m off | ||
| + | Sets SMT mode to disabled. | ||
| + | -m on | ||
| + | Sets SMT mode to enabled. | ||
| + | -w boot | ||
| + | Makes the SMT mode change effective on next and subsequent restarts if you run the bosboot command before the next system restart. | ||
| + | -w now | ||
| + | Makes the SMT mode change immediately but the change does not persist across restart. | ||
| + | </ | ||
| + | |||
| + | If neither the -w boot or the -w now options are specified, the mode change is made immediately. It persists across subsequent restarts if you run the bosboot command before the next system restart. | ||
| + | |||
| + | == Processor control == | ||
| + | Setting this tunable to a value greater than -1 will enable the scheduler to enable and disable virtual processors based on the partition' | ||
| + | |||
| + | If vpm_xvcpus is greater than or equal to zero, processor folding is enabled. Otherwise, if it is equal to -1, folding is disabled\\ | ||
| + | |||
| + | Use below command to enable folding:\\ | ||
| + | |||
| + | <code bash> | ||
| + | schedo -o vpm_xvcpus=0 | ||
| + | //Setting vpm_xvcpus to 0 | ||
| + | |||
| + | schedo -L vpm_xvcpus | ||
| + | |||
| + | schedo -o vpm_fold_policy=0 | ||
| + | schedo -L vpm_fold_policy | ||
| + | </ | ||
| + | |||
| + | Note: By default processor folding enabled in AIX\\ | ||
| + | |||
| + | |||
| + | == Smitty == | ||
| + | [[http:// | ||