User Tools

Site Tools


aix

This is an old revision of the document!


User management

Account unlock
chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0" -s 'myuser'
pwdadm -c /*Clear ADMCHG flag*/
Sendmail
# show sendmail status
lssrc -c sendmail
 
startsrc -s sendmail -a "-bd -q30m"
 proctree 8196
 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
               216938 file pages
                  0.0 compressed percentage
                    0 compressed pages
                  4.0 numclient percentage
                 90.0 maxclient percentage
               216938 client pages
                    0 remote pageouts scheduled
                  390 pending disk I/Os blocked with no pbuf
               616769 paging space I/Os blocked with no psbuf
                 2236 filesystem I/Os blocked with no fsbuf
               100811 client 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]/]>vmstat -tw 1
 
System configuration: lcpu=4 mem=7952MB
 
 kthr          memory                         page                       faults           cpu       time
------- --------------------- ------------------------------------ ------------------ ----------- --------
  r   b        avm        fre    re    pi    po    fr     sr    cy    in     sy    cs us sy id wa hr mi se
  0   0     702600    1052811     0     0     0     0      0     0     2   6268  7339  0  1 99  0 11:52:31
  0   0     702602    1052809     0     0     0     0      0     0     4   5902  7045  0  1 99  0 11:52:32
  0   0     702602    1052809     0     0     0     0      0     0     5   5991  6883  0  1 99  0 11:52:33
  0   0     702602    1052809     0     0     0     0      0     0     4   5913  6100  0  1 99  0 11:52:34
 
  [srvbd1]root]/]>svmon -G
               size      inuse       free        pin    virtual
memory      2035712     982932    1052780     384894     702631
pg space    2097152       2404
 
               work       pers       clnt      other
pin          314839          0          0      70055
in use       702631        240     280061
 
PageSize   PoolSize      inuse       pgsp        pin    virtual
s   4 KB          -     935236       2404     361214     654935
m  64 KB          -       2981          0       1480       2981            
 
 
[srvbd1]root]/]>lscfg
INSTALLED RESOURCE LIST

Monitoring

nmon mpstat sar

Processor Binding
bindprocessor -q
The available processors are:  0 1

bindprocessor 14662 1

ps -emo THREAD | grep p1

//unbind
bindprocessor -u 14662
Smitty
aix.1536928988.txt.gz · Last modified: 2019/09/16 16:09 (external edit)