ITPub博客

首页 > Linux操作系统 > Linux操作系统 > aix 查看进程占用io情况

aix 查看进程占用io情况

原创 Linux操作系统 作者:jcq0 时间:2009-08-20 11:29:53 0 删除 编辑

下载

http://www.ibm.com/developerworks/wikis/download/attachments/53871937/nmon4aix12e.zip?version=1

解压

# unzip nmon4aix12e.zip
Archive:  nmon4aix12e.zip
  inflating: nmon                   
  inflating: nmon12e_aix51          
  inflating: nmon12e_aix522         
  inflating: nmon12e_aix527         
  inflating: nmon12e_aix530         
  inflating: nmon12e_aix534         
  inflating: nmon12e_aix535         
  inflating: nmon12e_aix536         
  inflating: nmon12e_aix537         
  inflating: nmon12e_aix61          
  inflating: README_nmon12e.txt     

# oslevel -r
5300-07
# ./nmon12e_aix537

h键帮助

xh = Help information     q = Quit nmon             0 = reset peak counts                                                          x
x+ = double refresh time  - = half refresh          r = ResourcesCPU/HW/MHz/AIX                                                    x
xc = CPU by processor     C=upto 128 CPUs           p = LPAR Stats (if LPAR)                                                       x
xl = CPU avg longer term  k = Kernel Internal       # = PhysicalCPU if SPLPAR                                                      x
xm = Memory & Paging      M = Multiple Page Sizes   P = Paging Space                                                               x
xd = DiskI/O Graphs       D = DiskIO +Service times o = Disks %Busy Map                                                            x
xa = Disk Adapter         e = ESS vpath stats       V = Volume Group stats                                                         x
x^ = FC Adapter (fcstat)  O = VIOS SEA (entstat)    v = Verbose=OK/Warn/Danger                                                     x
xn = Network stats        N=NFS stats (NN for v4)   j = JFS Usage stats                                                            x
xA = Async I/O Servers    w = see AIX wait procs   "="= Net/Disk KB<-->MB                                                          x
xb = black&white mode     g = User-Defined-Disk-Groups (see cmdline -g)                                                            x
xt = Top-Process --->     1=basic 2=CPU-Use 3=CPU(default) 4=Size 5=Disk-I/O                                                       x
xu = Top+cmd arguments    U = Top+WLM Classes       . = only busy disks & procs                                                    x
xW = WLM Section          S = WLM SubClasses)                                                                                      x
xNeed more details?  Then stop nmon and use: nmon -?                                                                               x
xOr try http://www.ibm.com/collaboration/wiki/display/WikiPtype/nmon                                                               x
x                                                                                                                                  x
xnmon version 12e build=5300-07 - written by Nigel Griffiths, nag@uk.ibm.com                                                       x

其中t  5 查看进程磁盘io

t = Top-Process --->     1=basic 2=CPU-Use 3=CPU(default) 4=Size 5=Disk-I/O  

xCPU User%  Sys% Wait% Idle%|           |            |           |            |                                                    x
x  0   0.5   0.0   0.0  99.5|                                                 >                                                    x
xSystem Average             +-----------|------------|-----------|------------+                                                    x
xAll   0.5   0.0   0.0  99.5|                                                 >                                                    x
x                           +-----------|------------|-----------|------------+                                                    x
x Memory qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqx
x          Physical  PageSpace |        pages/sec  In     Out | FileSystemCache                                                    x
x% Used       46.8%      5.2%  | to Paging Space   0.0    0.0 | (numperm) 14.4%                                                    x
x% Free       53.2%     94.8%  | to File System    0.0    0.0 | Process   12.3%                                                    x
xMB Used     957.7MB     3.3MB | Page Scans        0.0        | System    20.0%                                                    x
xMB Free    1090.3MB    60.7MB | Page Cycles       0.0        | Free      53.2%                                                    x
xTotal(MB)  2048.0MB    64.0MB | Page Steals       0.0        |           ------                                                   x
x                              | Page Faults       0.0        | Total    100.0%                                                    x
x------------------------------------------------------------ | numclient 14.4%                                                    x
xMin/Maxperm     386MB( 19%)  1545MB( 75%) <--% of RAM        | maxclient 75.4%                                                    x
xMin/Maxfree     960   1088       Total Virtual    2.1GB      | User      21.9%                                                    x
xMin/Maxpgahead    2      8    Accessed Virtual    0.6GB 29.3%| Pinned    20.9%                                                    x
x Network qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqx
xI/F Name Recv=KB/s Trans=KB/s packin packout insize outsize Peak->Recv TransKB                                                    x
x    en0       0.1       0.4      1.0      0.5  137.5  753.0     1073.2   859.6                                                    x
x    en1       0.0       0.0      0.0      0.0    0.0    0.0        0.0     0.0                                                    x
x    lo0       0.0       0.0      0.0      0.0    0.0    0.0        0.0     0.0                                                    x
x  Total       0.0       0.0 in Mbytes/second   verflow=0                                                                         x
x Disk-Adapter-I/O qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqx
xName          %busy     read    write        xfers Disks Adapter-Type                                                             x
xscsi0           0.0      0.0      0.0 KB/s     0.0 2     Wide/Ultra-2 SCSI I/O                                                    x
xTOTALS  1 adapters       0.0      0.0 KB/s     0.0 2     TOTAL(MB/s)=0.0                                                          x
x Disk-Busy-Map qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqx
x               Key(%): @=90 #=80 X=70 8=60 O=50 0=40 o=30 +=20 -=10 .=5 _=0%                                                      x
xhdisks numbers->           1         2         3         4                                                                        x
x                 01234567890123456789012345678901234567890123456789                                                               x
x   0 to   49     For Busy% run: chdev -l sys0 -a iostat=true                                                                      x
x Disk-KBytes/second-(K=1024,M=1024*1024) qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqx
xDisk     Busy  Read  Write 0----------25-----------50------------75--------100                                                    x
x Name          KB/s   KB/s |           |            |             |          |                                                    x
xhdisk0     0%      0      0| For Busy% run: chdev -l sys0 -a iostat=true     |                                                    x
xcd0        0%      0      0| For Busy% run: chdev -l sys0 -a iostat=true     |                                                    x
xTotals             0      0+-----------|------------|-------------|----------+                                                    x
x Top-Processes-(60) qqqqqqMode=3  [1=Basic 2=CPU 3=Perf 4=Size 5=I/O 6=Cmds]qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqx
x  PID       %CPU     Size      Res     Res      Res     Char    RAM      Paging         Command                                   x
x            Used       KB      Set     Text     Data     I/O     Use   io   other repage                                          x
x    8196    99.0       40       40        0       40        0    0%      0      0      0 wait                                     x
x  110742     0.5     7660     7984      532     7452        0    1%      0      0      0 nmon12e_aix537                           x
x   45078     0.1      116      116        0      116        0    0%      0      0      0 gil = TCP/IP                             x
x       0     0.1       52       52        0       52        0    0%      0      0      0 Swapper                                  x
x   36882     0.0       48       48        0       48        0    0%      0      0      0 xmgc                                     x
x  250030     0.0     3092     1900      716     1184        0    0%      0      0      0 clstrmgr                                 x
x  106740     0.0    22372    22384      324    22060        0    2%      0      0      0 ocssd.bin                                x
x  274590     0.0     1812     1852      240     1612        0    0%      0      0      0 clcomd                                   x
x   40980     0.0       48       48        0       48        0    0%      0      0      0 netm                                     x
x   24588     0.0       60       60        0       60        0    0%      0      0      0 xmfreed                                  x
x   20490     0.0       48       48        0       48        0    0%      0      0      0 vmptacrt                                 x
x   49176     0.0       64       64        0       64        0    0%      0      0      0 wlmsched                                 x
# qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
#

------------------End------------------------

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/14130873/viewspace-612735/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-11-25

  • 博文量
    93
  • 访问量
    343011