免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3268 | 回复: 7
打印 上一主题 下一主题

[SCO UNIX] [转帖]进程管理的两个命令(PS,Sar) [复制链接]

论坛徽章:
1
15-16赛季CBA联赛之北控
日期:2022-03-04 22:35:50
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2002-12-20 21:18 |只看该作者 |倒序浏览
进程管理的两个命令(PS,Sar)
出自:http://www.xici.net springwind 2001年10月07日 11:30
常用的几个命令主要有:
一、 PS
我们可以用ps 的 – l 选项,得到更详细的进程信息.
&#61548&#59; F(Flag):一系列数字的和,表示进程的当前状态。这些数字的含义为:
00:若单独显示,表示此进程已被终止。
  01:进程是核心进程的一部分,常驻于系统主存。如:   
    sched、 vhand 、bdflush 等。
02:Parent is tracing process.
  04 :Tracing parent's signal has stopped the process&#59; the parent is waiting ( ptrace(S)).
  10:进程在优先级低于或等于25时,进入休眠状态,而且不能用信号唤醒,例如在等待一个inode被创建时   
   20:进程被装入主存(primary memory)
   40:进程被锁在主存,在事务完成前不能被置换   e
&#61548&#59; S(state of the process )
O:进程正在处理器运行 
  S:休眠状态(sleeping)
R:等待运行(runable)   
I:空闲状态(idle)
  Z:僵尸状态(zombie)   
  T:跟踪状态(Traced)
B:进程正在等待更多的内存页
&#61548&#59; C(cpu usage):cpu利用率的估算值 
二、 Sar:统计单CPU系统的系统活动情况
Cpusar:多处理器系统中单个处理器的活动情况
Mpsar:多处理器系统中处理器的总体活动情况
&#61548&#59; Sar -u:检查是否有逃逸进程大量占用CPU
此命令的显示有四个字段,含义如下:
%usr:执行用户进程的时间
%sys:执行系统进程的时间
%wio:等待完成I/O的时间
%idle:空闲时间
显示结果分析说明:
1) 一般情况下,%usr与%sys的值基本相等
2) 在一般的多用户系统中,%idle通常大于40%
3) 若%wio经常>;15%,意味着硬盘有可能会造成瓶颈
4) 若%idle经常小于30%,意味着处理器能力较弱
5) 若%idle经常小于10%,表明处理器负担过重,或者存在逃逸进程
6) 若%idle接近于0,并且%sys又远远高于%usr,则可能是因为内存短缺引起了大量的swapping和paging
&#61548&#59; Sar -p:检查系统中是否有过多的等待进程
此命令有四个相关字段:
runq-sz:内存(memory)中可以运行的进程数
%runocc:进程进入内存等待的概率
swpq-sz:对换区(swap)中等待运行的进程数
%swpocc:进程进入swap等待的概率
显示结果分析汇总如下:
1) 若runq-sz经常大于2并且%runocc经常大于90%,意味着处理器负载过重
2) 若%swpocc不为0,表示系统已经置换出了进程。可以采用增加内存或减少缓冲的方法来减少swap和paging。
&#61623&#59; 自动统计程序:
对系统运行状况的判断不能依赖于某个特定时期的数据,它需要一个长期的积累和收集的过程。Unix5提供了两个基于月的自动统计程序sa1(以二进制形式收集、存放于目录/usr/adm/sa中,以sadd为文件名,dd是一个数字,表示当月第几天)、sa2(以可读文本形式存放在目录/usr/adm/sa中,文件名为:sardd)。这两个命令可以通过crontab启动。相关文件位于/usr/spool/cron/crontabs下sys和 root。
&#61623&#59; 激活自动记录:
/usr/lib/sa/sar_enable -y
&#61623&#59; 显示记录内容:
sar –q -f /usr/adm/sa/sa10

论坛徽章:
0
2 [报告]
发表于 2003-01-13 11:19 |只看该作者

[转帖]进程管理的两个命令(PS,Sar)

很好的资料,大家分析一下我的机器问题:
SCO_SV ots 3.2v5.0.4 Pent Pro    01/12/103

00:00:00 runq-sz %runocc swpq-sz %swpocc (-q)
01:00:00     2.0       0               
02:00:00     2.4      19               
03:00:00     2.4      57               
04:00:00     2.9      52               
05:00:00     1.8       8               
06:00:00     2.1      24               
07:00:00     2.9      29               
08:00:00                                
09:00:00     2.2       4               
10:00:00     2.5       8               
11:00:00     3.0      18               
12:00:01     1.9      34               
13:00:01     1.6      98               
14:00:01     1.6     100               
14:58:33        unix restarts
15:00:00     4.0       0               
16:00:00     1.3      20               
17:00:00     1.7       1               
18:00:00     2.3       2               
19:00:00     1.5      24               
20:00:01     2.0       0               
21:00:00     3.0       0               
22:00:00     2.3       4               
23:00:00     1.4      15               

Average      1.8     100   

论坛徽章:
0
3 [报告]
发表于 2003-01-13 11:21 |只看该作者

[转帖]进程管理的两个命令(PS,Sar)

SCO_SV ots 3.2v5.0.4 Pent Pro    01/09/103

10:05:43 runq-sz %runocc swpq-sz %swpocc (-q)
10:05:43        sar data collection enabled
10:20:00     2.3       3               
10:40:00     2.5     100               
11:00:00     2.8     100               
11:20:00     2.7     100               
11:40:00     2.6      50               
12:00:00     2.5      57               
12:20:00     3.0      18               
12:40:00     2.4      42               
13:00:00     2.3      52               
13:20:00     2.3      38               
13:40:00     2.2      91               
14:00:00     2.5      28               
14:20:00     2.7      31               
14:40:00     2.5      27               
15:00:00     2.6      21               
15:20:01     2.5      18               
15:40:00     2.6      13               
16:00:00     2.5       6               
16:20:00     2.5      17      
16:40:00     2.6      13               
17:00:00     2.1      18               
17:20:00     2.7      25               
17:40:00     3.0       0               
18:00:00     3.0       0               
19:00:00     2.3      23               
20:00:00     1.9       2               
21:00:00     2.4       2               
22:00:00     1.7       9               
23:00:00     2.3      13               

Average      2.4     100     

论坛徽章:
0
4 [报告]
发表于 2003-01-13 11:24 |只看该作者

[转帖]进程管理的两个命令(PS,Sar)

我的机器老是 down。
我的问题出在那呢?

Report about cpu for ots.sco.com on Mon Jan 13 11:28:34 2003

    There is one CPU on this system.

    The CPU performs like a 355Mhz Intel Pentium II

Model Specific registers
    TSC:                           0x0000179103fb1a48
    APICBASE:                      0x00000000fee00100
        BootStrap Processor:           Yes
        APIC Global Enable:            Disabled
    EBL_CR_POWERON:                0x00000000c5480000
        Data bus error policy:         Parity
        Clock Frequency Ratio:         5
    MISC_ADDR33:                   0x0000000000000000
        Instruction Streaming Buffers: Enabled


Report about memory for ots.sco.com on Mon Jan 13 11:28:34 2003

    BootFlags:AT
Intel 80486
PCI
APM

    BaseMem:    640 Kb
    ExtMem:     63 Mb
    BootStr:hd(40)unix
    Kernel:/unix ->; /stand/unix

Available Memory

    0x00000000-0x00007fff       32 KbKernel reserved
    0x00008000-0x0009ffff      608 Kb
    0x000a0000-0x000fffff      384 KbNon-RAM
    0x00100000-0x00f05fff    14.02 Mb
    0x00f06000-0x00fd8fff      844 KbKernel bss
    0x00fd9000-0x00ffffff      156 KbKernel data
    0x01000000-0x03eadfff    46.68 MbShadow ram & other special mem
Non-ISA-DMAable
    0x03eae000-0x03ffffff     1.32 MbKernel text
Shadow ram & other special mem
Non-ISA-DMAable
    ---------
     63.63 MbRAM total  (64 Mb - 384 Kb)
        64 MbMemory total


Memory used by Kernel

    0x00000000-0x00007fff       32 KbKernel reserved
    0x00008000-0x00f05fff    14.99 MbUnused
    0x00f06000-0x00fd8fff      844 KbKernel bss
    0x00fd9000-0x00ffffff      156 KbKernel data
    0x01000000-0x03eadfff    46.68 MbUnused
    0x03eae000-0x03ffffff     1.32 MbKernel text
Shadow ram & other special mem
Non-ISA-DMAable
    ---------
      2.33 MbRAM total  (3 Mb - 688 Kb)
        64 MbMemory total

Report about console for ots.sco.com on Mon Jan 13 11:28:34 2003


Report about PCI for ots.sco.com on Mon Jan 13 11:28:35 2003

    Present:   1
    Mechanism: 1
    PCI buses: 2

    Index: 0
DeviceNum:0
Function:0
Bus:0
VendorId:Intel
DeviceId:0x7190
RevId:0x03
Command:0x0006      Memory Enabled, I/O Disabled
Status:0x2210
ClassCode:0x060000    Host bridge
CacheLineSize:0           No limiting
LatencyTimer:0x40
HeaderType:0x00        Single-function, Standard encoding
BaseAddr[0]:Memory      0xe0000000, 32 bit space

    Index: 1
DeviceNum:1
Function:0
Bus:0
VendorId:Intel
DeviceId:0x7191
RevId:0x03
Command:0x0107      Memory Enabled, I/O Enabled
Status:0x0220
ClassCode:0x060400    PCI-to-PCI bridge
CacheLineSize:0           No limiting
LatencyTimer:0x40
HeaderType:0x01        Single-function, PCI-to-PCI bridge
PriBusNum:0
SecBusNum:1
SubBusNum:1
SecLatencyTime:0x40
IoBase:0xd000-0xdfff
MemBase:0xfff00000-0xffffffff
PrefMemBase:0xfff0-0xffff
SecStatus:0x22a0
BridgeControl:0x0080

    Index: 2
DeviceNum:7
Function:0
Bus:0
VendorId:Intel
DeviceId:0x7110
RevId:0x02
Command:0x000f      Memory Enabled, I/O Enabled
Status:0x0280
ClassCode:0x060100    ISA bridge
CacheLineSize:0           No limiting
HeaderType:0x80        Multi-function, Standard encoding

    Index: 3
DeviceNum:7
Function:1
Bus:0
VendorId:Intel
DeviceId:0x7111
RevId:0x01
Command:0x0005      Memory Disabled , I/O Enabled
Status:0x0280
ClassCode:0x010180    Mass storage controller
CacheLineSize:0           No limiting
LatencyTimer:0x40
HeaderType:0x00        Single-function, Standard encoding
BaseAddr[4]:I/O         0xf000

    Index: 4
DeviceNum:7
Function:2
Bus:0
VendorId:Intel
DeviceId:0x7112
RevId:0x01
Command:0x0005      Memory Disabled , I/O Enabled
Status:0x0280
ClassCode:0x0c0300    Universal Serial Bus (USB) bus controller
CacheLineSize:0           No limiting
LatencyTimer:0x40
HeaderType:0x00        Single-function, Standard encoding
BaseAddr[4]:I/O         0xe000
InterruptLine:IRQ-11
InterruptPin:INTD

    Index: 5
DeviceNum:7
Function:3
Bus:0
VendorId:Intel
DeviceId:0x7113
RevId:0x02
Command:0x0003      Memory Enabled, I/O Enabled
Status:0x0280
ClassCode:0x068000    Other bridge device
CacheLineSize:0           No limiting
HeaderType:0x00        Single-function, Standard encoding

    Index: 6
DeviceNum:19
Function:0
Bus:0
VendorId:3Dlabs
DeviceId:0x0009
RevId:0x01
Command:0x0007      Memory Enabled, I/O Enabled
Status:0x0290
ClassCode:0x030000    VGA-compatible display controller
CacheLineSize:0           No limiting
LatencyTimer:0x40
HeaderType:0x00        Single-function, Standard encoding
BaseAddr[0]:Memory      0xe6000000, 32 bit space
BaseAddr[1]:Memory      0xe5800000, 32 bit space
BaseAddr[2]:Memory      0xe5000000, 32 bit space
SubsysVendorID:Creative Labs
SubsystemID:0x100f
ROMbaseAddress:Expan ROM   0xe4000000, Disabled
InterruptLine:IRQ-10
InterruptPin:INTA
Min_Gnt:0xc0
Max_Lat:0xc0

论坛徽章:
0
5 [报告]
发表于 2003-01-13 11:27 |只看该作者

[转帖]进程管理的两个命令(PS,Sar)

9号的sar09

SCO_SV ots 3.2v5.0.4 Pent Pro    01/09/103

10:05:43    %usr    %sys    %wio   %idle (-u)
10:05:43sar data collection enabled
10:20:00       1      12      20      67
10:40:00       1      12      20      68
11:00:00       1      11      18      69
11:20:00       1      12      19      68
11:40:00       1      10      16      73
12:00:00       1       9      10      80
12:20:00       1       8       9      82
12:40:00       1       8       9      82
13:00:00       1       8       9      81
13:20:00       1      10      14      74
13:40:00       1      11      18      70
14:00:00       1      12      20      67
14:20:00       1      11      19      69
14:40:00       1      12      18      69
15:00:00       1      12      18      69
15:20:01       1       9      11      79
15:40:00       1       7       8      84
16:00:00       1       5       6      88
16:20:00       1       5       5      88
16:40:00       1       6       7      86
17:00:00       1       8       8      83
17:20:00       1       8       9      83
17:40:00       0       1       1      98
18:00:00       0       0       0     100

Average        1       9      12      78

10:05:43 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s (-b)
10:05:43sar data collection enabled
10:20:00      14     550      97     177     201      12       0       0
10:40:00      13     540      98     171     196      13       0       0
11:00:00      14     528      97     162     187      13       0       0
11:20:00      13     536      98     167     192      13       0       0
11:40:00      11     509      98     148     173      15       0       0
12:00:00       8     474      98     124     149      17       0       0
12:20:00       7     462      98     115     140      18       0       0
12:40:00       8     463      98     116     141      18       0       0
13:00:00       8     464      98     117     142      18       0       0
13:20:00      11     511      98     150     175      14       0       0
13:40:00      12     523      98     159     184      14       0       0
14:00:00      14     543      97     173     198      13       0       0
14:20:00      13     532      98     165     190      13       0       0
14:40:00      13     539      98     169     194      13       0       0
15:00:00      13     536      98     167     192      13       0       0
15:20:01       8     473      98     123     148      17       0       0
15:40:00       7     437      98      94     121      22       0       0
16:00:00       3     399      99      69      95      28       0       0
16:20:00       3     397      99      67      93      28       0       0
16:40:00       5     426      99      89     115      22       0       0
17:00:00       7     448      99     105     130      20       0       0
17:20:00       7     451      99     107     133      19       0       0
17:40:00       1      47      99      12      14      19       0       0
18:00:00       0       3      99       1       1      52       0       0

Average        9     448      98     122     145      16       0       0

10:05:43  device   %busy     avque     r+w/s    blks/s    avwait    avserv (-d)
10:05:43sar data collection enabled
10:20:00  wd-0     24.80      1.57    172.75    401.36      0.82      1.44

10:40:00  wd-0     24.16      1.54    167.54    389.46      0.78      1.44

11:00:00  wd-0     22.91      1.56    159.37    371.82      0.80      1.44

11:20:00  wd-0     23.57      1.57    163.77    380.87      0.82      1.44

11:40:00  wd-0     19.71      1.64    144.75    337.56      0.87      1.36

12:00:00  wd-0     13.09      1.84    119.30    282.75      0.93      1.10

12:20:00  wd-0     12.04      1.91    110.86    264.27      0.99      1.09

12:40:00  wd-0     12.26      1.91    111.78    266.50      1.00      1.10

13:00:00  wd-0     12.22      1.91    112.81    268.41      0.98      1.08

13:20:00  wd-0     18.27      1.66    145.99    342.08      0.82      1.25

13:40:00  wd-0     22.07      1.57    155.37    361.50      0.82      1.42

14:00:00  wd-0     24.36      1.57    169.01    393.45      0.81      1.44

14:20:00  wd-0     23.43      1.55    161.65    376.07      0.80      1.45

14:40:00  wd-0     22.83      1.60    164.86    384.84      0.83      1.38

15:00:00  wd-0     22.60      1.58    162.51    379.61      0.81      1.39

15:20:01  wd-0     14.50      1.76    119.44    281.14      0.93      1.21

15:40:00  wd-0     10.40      2.00     92.14    222.30      1.13      1.13

16:00:00  wd-0      7.19      2.17     67.54    163.84      1.25      1.06

16:20:00  wd-0      7.01      2.18     66.02    160.56      1.26      1.06

16:40:00  wd-0      9.13      2.05     86.52    207.10      1.11      1.06

17:00:00  wd-0     10.98      1.93    101.75    242.99      1.00      1.08

17:20:00  wd-0     11.19      1.96    103.95    247.77      1.03      1.08

17:40:00  wd-0      1.28      2.00     11.17     26.47      1.14      1.14

18:00:00  wd-0      0.06      2.00      0.59      1.27      1.10      1.10


Average   wd-0     15.31      1.70    119.00    279.97      0.90      1.29

10:05:43  c_hits cmisses (hit %) (-n)
10:05:43sar data collection enabled
10:20:00  966845   32737 (96%)
10:40:00 1348279   45437 (96%)
11:00:00 1346428   45417 (96%)
11:20:00 1349860   45568 (96%)
11:40:00 1349285   45467 (96%)
12:00:00 1347484   45399 (96%)
12:20:00 1350248   45564 (96%)
12:40:00 1348629   45468 (96%)
13:00:00 1347633   45394 (96%)
13:20:00 1348778   45513 (96%)
13:40:00 1348531   45446 (96%)
14:00:00 1347555   45400 (96%)
14:20:00 1349745   45564 (96%)
14:40:00 1348503   45442 (96%)
15:00:00 1351043   45569 (96%)
15:20:01 1349834   45568 (96%)
15:40:00 1346120   45376 (96%)
16:00:00 1347500   45400 (96%)
16:20:00 1349788   45556 (96%)
16:40:00 1348451   45441 (96%)
17:00:00 1347557   45397 (96%)
17:20:00 1349887   45554 (96%)
17:40:00  136710    4940 (96%)
18:00:00    1204     403 (74%)

Average  29425897  993020 (-44%)

10:05:43 rawch/s canch/s outch/s rcvin/s xmtin/s mdmin/s (-y)
10:05:43sar data collection enabled
10:20:00       0       0      16       0       0       0
10:40:00       0       0      11       0       0       0
11:00:00       0       0      12       0       0       0
11:20:00       0       0      16       0       0       0
11:40:00       0       0      20       0       0       0
12:00:00       0       0      15       0       0       0
12:20:00       0       0      15       0       0       0
12:40:00       0       0      11       0       0       0
13:00:00       0       0      12       0       0       0
13:20:00       0       0      12       0       0       0
13:40:00       0       0      15       0       0       0
14:00:00       0       0      13       0       0       0
14:20:00       0       0      10       0       0       0
14:40:00       0       0      15       0       0       0
15:00:00       0       0      16       0       0       0
15:20:01       0       0      18       0       0       0
15:40:00       0       0      19       0       0       0
16:00:00       0       0      17       0       0       0
16:20:00       0       0      19       0       0       0
16:40:00       0       0      18       0       0       0
17:00:00       0       0      19       0       0       0
17:20:00       0       0      14       0       0       0
17:40:00       0       0      13       0       0       0
18:00:00       0       0      12       0       0       0

Average        0       0      15       0       0       0

10:05:43 scall/s sread/s swrit/s  fork/s  exec/s  rchar/s  wchar/s (-c)
10:05:43sar data collection enabled
10:20:00    1300      73      14    0.53    0.53    43839     1235
10:40:00    1297      72      14    0.51    0.51    43707     1214
11:00:00    1296      72      14    0.51    0.51    43656     1215
11:20:00    1303      74      15    0.51    0.51    43753     1237
11:40:00    1308      75      16    0.51    0.51    43803     1255
12:00:00    1302      73      15    0.50    0.50    43723     1234
12:20:00    1304      73      15    0.51    0.51    43758     1234
12:40:00    1298      72      14    0.51    0.51    43716     1216
13:00:00    1306      74      15    0.50    0.50    43724     1231
13:20:00    1303      74      15    0.51    0.51    43737     1223
13:40:00    1303      74      15    0.51    0.51    43744     1235
14:00:00    1301      73      15    0.50    0.50    43712     1227
14:20:00    1309      75      16    0.51    0.51    43745     1229
14:40:00    1306      74      15    0.51    0.51    43750     1237
15:00:00    1307      75      16    0.51    0.51    43779     1244
15:20:01    1311      75      16    0.51    0.51    43781     1253
15:40:00    1302      73      15    0.51    0.51    43711     1243
16:00:00    1308      75      16    0.50    0.50    43742     1247
16:20:00    1313      75      16    0.51    0.51    43786     1260
16:40:00    1309      75      16    0.51    0.51    43764     1253
17:00:00    1307      74      16    0.50    0.50    43748     1254
17:20:00    1301      73      15    0.51    0.51    43744     1229
17:40:00     788      12       6    0.06    0.06     4520      183
18:00:00     734       5       6    0.00    0.00      148       70

Average     1258      68      14    0.47    0.47    40253     1143

10:05:43 swpin/s bswin/s swpot/s bswot/s pswch/s (-w)
10:05:43sar data collection enabled
10:20:00    2.51    20.1    0.00     0.0     493
10:40:00    2.50    20.0    0.00     0.0     487
11:00:00    2.50    20.0    0.00     0.0     479
11:20:00    2.50    20.0    0.00     0.0     485
11:40:00    2.51    20.1    0.00     0.0     467
12:00:00    2.50    20.0    0.00     0.0     439
12:20:00    2.50    20.0    0.00     0.0     429
12:40:00    2.50    20.0    0.00     0.0     429
13:00:00    2.50    20.0    0.00     0.0     432
13:20:00    2.50    20.0    0.00     0.0     466
13:40:00    2.50    20.0    0.00     0.0     476
14:00:00    2.50    20.0    0.00     0.0     490
14:20:00    2.50    20.0    0.00     0.0     485
14:40:00    2.50    20.0    0.00     0.0     488
15:00:00    2.51    20.0    0.00     0.0     486
15:20:01    2.50    20.0    0.00     0.0     442
15:40:00    2.50    20.0    0.00     0.0     412
16:00:00    2.50    20.0    0.00     0.0     387
16:20:00    2.50    20.0    0.00     0.0     387
16:40:00    2.50    20.0    0.00     0.0     407
17:00:00    2.50    20.0    0.00     0.0     422
17:20:00    2.50    20.0    0.00     0.0     422
17:40:00    0.25     2.0    0.00     0.0     321
18:00:00    0.00     0.0    0.00     0.0     311

Average     2.30    18.4    0.00     0.0     439

10:05:43  iget/s namei/s dirbk/s (-a)
10:05:43sar data collection enabled
10:20:00    1209     156     201
10:40:00    1201     155     200
11:00:00    1197     155     200
11:20:00    1201     155     200
11:40:00    1192     155     200
12:00:00    1180     155     200
12:20:00    1178     156     200
12:40:00    1177     155     200
13:00:00    1177     155     200
13:20:00    1193     156     200
13:40:00    1196     155     200
14:00:00    1202     155     200
14:20:00    1200     155     200
14:40:00    1201     155     200
15:00:00    1201     155     200
15:20:01    1181     155     200
15:40:00    1168     155     200
16:00:00    1155     155     200
16:20:00    1156     155     200
16:40:00    1165     155     200
17:00:00    1171     155     200
17:20:00    1174     155     200
17:40:00     120      16      20
18:00:00       3       0       0

Average     1090     143     184

10:05:43 runq-sz %runocc swpq-sz %swpocc (-q)
10:05:43sar data collection enabled
10:20:00     2.3       3               
10:40:00     2.5     100               
11:00:00     2.8     100               
11:20:00     2.7     100               
11:40:00     2.6      50               
12:00:00     2.5      57               
12:20:00     3.0      18               
12:40:00     2.4      42               
13:00:00     2.3      52               
13:20:00     2.3      38               
13:40:00     2.2      91               
14:00:00     2.5      28               
14:20:00     2.7      31               
14:40:00     2.5      27               
15:00:00     2.6      21               
15:20:01     2.5      18               
15:40:00     2.6      13               
16:00:00     2.5       6               
16:20:00     2.5      17               
16:40:00     2.6      13               
17:00:00     2.1      18               
17:20:00     2.7      25               
17:40:00     3.0       0               
18:00:00     3.0       0               

Average      2.5     100               

10:05:43  proc-sz   ov  inod-sz   ov  file-sz   ov  lock-sz    (-v)
10:05:43sar data collection enabled
10:20:00   69/  95   0  256/ 614   0  254/ 341   0    0/ 128
10:40:00   69/  95   0  257/ 614   0  254/ 341   0    0/ 128
11:00:00   69/  95   0  257/ 614   0  254/ 341   0    0/ 128
11:20:00   70/  95   0  257/ 614   0  255/ 341   0    0/ 128
11:40:00   70/  95   0  263/ 614   0  257/ 341   0    0/ 128
12:00:00   70/  95   0  264/ 614   0  257/ 341   0    0/ 128
12:20:00   70/  95   0  260/ 614   0  256/ 341   0    0/ 128
12:40:00   70/  95   0  262/ 614   0  259/ 341   0    0/ 128
13:00:00   70/  95   0  263/ 614   0  259/ 341   0    0/ 128
13:20:00   69/  95   0  258/ 614   0  254/ 341   0    0/ 128
13:40:00   69/  95   0  259/ 614   0  255/ 341   0    0/ 128
14:00:00   69/  95   0  258/ 614   0  255/ 341   0    0/ 128
14:20:00   69/  95   0  259/ 614   0  255/ 341   0    0/ 128
14:40:00   69/  95   0  259/ 614   0  255/ 341   0    0/ 128
15:00:00   70/  95   0  268/ 614   0  263/ 341   0    0/ 128
15:20:01   69/  95   0  258/ 614   0  255/ 341   0    0/ 128
15:40:00   69/  95   0  258/ 614   0  255/ 341   0    0/ 128
16:00:00   69/  95   0  258/ 614   0  255/ 341   0    0/ 128
16:20:00   69/  95   0  258/ 614   0  255/ 341   0    0/ 128
16:40:00   69/  95   0  257/ 614   0  255/ 341   0    0/ 128
17:00:00   69/  95   0  258/ 614   0  255/ 341   0    0/ 128
17:20:00   69/  95   0  259/ 614   0  255/ 341   0    0/ 128
17:40:00   69/  95   0  257/ 614   0  255/ 341   0    0/ 128
18:00:00   69/  95   0  257/ 614   0  255/ 341   0    0/ 128


10:05:43   msg/s  sema/s (-m)
10:05:43sar data collection enabled
10:20:00    0.00    0.00
10:40:00    0.00    0.00
11:00:00    0.00    0.00
11:20:00    0.00    0.00
11:40:00    0.00    0.00
12:00:00    0.00    0.00
12:20:00    0.00    0.00
12:40:00    0.00    0.00
13:00:00    0.00    0.00
13:20:00    0.00    0.00
13:40:00    0.00    0.00
14:00:00    0.00    0.00
14:20:00    0.00    0.00
14:40:00    0.00    0.00
15:00:00    0.00    0.00
15:20:01    0.00    0.00
15:40:00    0.00    0.00
16:00:00    0.00    0.00
16:20:00    0.00    0.00
16:40:00    0.00    0.00
17:00:00    0.00    0.00
17:20:00    0.00    0.00
17:40:00    0.00    0.00
18:00:00    0.00    0.00

Average     0.00    0.00

10:05:43  vflt/s  pflt/s pgfil/s  rclm/s (-p)
10:05:43sar data collection enabled
10:20:00   25.22   24.61    0.01    0.00
10:40:00   25.08   24.19    0.00    0.00
11:00:00   25.06   24.19    0.01    0.00
11:20:00   25.11   24.33    0.00    0.00
11:40:00   25.09   24.20    0.00    0.00
12:00:00   25.04   24.09    0.00    0.00
12:20:00   25.13   24.35    0.00    0.00
12:40:00   25.08   24.19    0.00    0.00
13:00:00   25.04   24.09    0.00    0.00
13:20:00   25.10   24.31    0.00    0.00
13:40:00   25.07   24.19    0.00    0.00
14:00:00   25.03   24.09    0.00    0.00
14:20:00   25.11   24.33    0.00    0.00
14:40:00   25.07   24.19    0.00    0.00
15:00:00   25.09   24.23    0.00    0.00
15:20:01   25.12   24.33    0.00    0.00
15:40:00   25.07   24.17    0.00    0.00
16:00:00   25.04   24.09    0.00    0.00
16:20:00   25.12   24.33    0.00    0.00
16:40:00   25.07   24.19    0.00    0.00
17:00:00   25.04   24.09    0.00    0.00
17:20:00   25.12   24.33    0.00    0.00
17:40:00    2.57    2.59    0.00    0.00
18:00:00    0.04    0.09    0.00    0.00

Average    23.08   22.30    0.00    0.00

10:05:43 freemem freeswp (-r)
10:05:43sar data collection enabled
10:20:00     372  148664
10:40:00     372  148664
11:00:00     372  148664
11:20:00     372  148664
11:40:00     372  148664
12:00:00     373  148664
12:20:00     373  148664
12:40:00     373  148664
13:00:00     373  148664
13:20:00     372  148664
13:40:00     372  148664
14:00:00     372  148664
14:20:00     372  148664
14:40:00     372  148664
15:00:00     372  148664
15:20:01     373  148664
15:40:00     373  148664
16:00:00     373  148664
16:20:00     373  148664
16:40:00     373  148664
17:00:00     373  148664
17:20:00     375  148664
17:40:00     394  148664
18:00:00     396  148664

Average      375  148664

10:05:43 cpybuf/s slpcpybuf/s (-B)
10:05:43sar data collection enabled
10:20:00     0.00        0.00
10:40:00     0.00        0.00
11:00:00     0.00        0.00
11:20:00     0.00        0.00
11:40:00     0.00        0.00
12:00:00     0.00        0.00
12:20:00     0.00        0.00
12:40:00     0.00        0.00
13:00:00     0.00        0.00
13:20:00     0.00        0.00
13:40:00     0.00        0.00
14:00:00     0.00        0.00
14:20:00     0.00        0.00
14:40:00     0.00        0.00
15:00:00     0.00        0.00
15:20:01     0.00        0.00
15:40:00     0.00        0.00
16:00:00     0.00        0.00
16:20:00     0.00        0.00
16:40:00     0.00        0.00
17:00:00     0.00        0.00
17:20:00     0.00        0.00
17:40:00     0.00        0.00
18:00:00     0.00        0.00

Average      0.00        0.00

10:05:43 dptch/s idler/s swidle/s (-R)
10:05:43sar data collection enabled
10:20:00  911.09  344.92   233.29
10:40:00  896.70  338.24   229.75
11:00:00  873.66  326.77   223.13
11:20:00  887.42  332.66   226.45
11:40:00  837.35  307.05   212.05
12:00:00  760.22  269.56   190.23
12:20:00  732.77  256.56   183.03
12:40:00  735.19  258.04   184.00
13:00:00  741.15  259.77   185.03
13:20:00  835.38  306.72   211.94
13:40:00  862.33  319.81   219.57
14:00:00  902.08  339.70   230.42
14:20:00  883.90  329.44   225.19
14:40:00  893.06  334.16   227.40
15:00:00  889.73  333.18   226.32
15:20:01  764.46  269.86   191.01
15:40:00  683.61  230.66   168.74
16:00:00  608.22  192.63   148.27
16:20:00  604.78  189.94   146.96
16:40:00  665.07  220.68   163.77
17:00:00  710.49  243.57   175.88
17:20:00  713.45  246.29   177.33
17:40:00  454.32  122.88   111.11
18:00:00  427.52  109.93   104.35

Average   759.61  269.23   190.96

10:05:43 ovsiohw/s ovsiodma/s ovclist/s (-g)
10:05:43sar data collection enabled
10:20:00      0.00       0.00      0.00
10:40:00      0.00       0.00      0.00
11:00:00      0.00       0.00      0.00
11:20:00      0.00       0.00      0.00
11:40:00      0.00       0.00      0.00
12:00:00      0.00       0.00      0.00
12:20:00      0.00       0.00      0.00
12:40:00      0.00       0.00      0.00
13:00:00      0.00       0.00      0.00
13:20:00      0.00       0.00      0.00
13:40:00      0.00       0.00      0.00
14:00:00      0.00       0.00      0.00
14:20:00      0.00       0.00      0.00
14:40:00      0.00       0.00      0.00
15:00:00      0.00       0.00      0.00
15:20:01      0.00       0.00      0.00
15:40:00      0.00       0.00      0.00
16:00:00      0.00       0.00      0.00
16:20:00      0.00       0.00      0.00
16:40:00      0.00       0.00      0.00
17:00:00      0.00       0.00      0.00
17:20:00      0.00       0.00      0.00
17:40:00      0.00       0.00      0.00
18:00:00      0.00       0.00      0.00

Average       0.00       0.00      0.00

10:05:43 mpbuf/s  ompb/s mphbuf/s omphbuf/s  pbuf/s spbuf/s dmabuf/s sdmabuf/s (-h)
10:05:43sar data collection enabled
10:20:00    0.00    0.00    99.57      0.00    0.00    0.00     0.00      0.00
10:40:00    0.00    0.00    96.74      0.00    0.00    0.00     0.00      0.00
11:00:00    0.00    0.00    92.55      0.00    0.00    0.00     0.00      0.00
11:20:00    0.00    0.00    94.72      0.00    0.00    0.00     0.00      0.00
11:40:00    0.00    0.00    84.69      0.00    0.00    0.00     0.00      0.00
12:00:00    0.00    0.00    70.42      0.00    0.00    0.00     0.00      0.00
12:20:00    0.00    0.00    65.90      0.00    0.00    0.00     0.00      0.00
12:40:00    0.00    0.00    66.41      0.00    0.00    0.00     0.00      0.00
13:00:00    0.00    0.00    66.99      0.00    0.00    0.00     0.00      0.00
13:20:00    0.00    0.00    84.91      0.00    0.00    0.00     0.00      0.00
13:40:00    0.00    0.00    90.28      0.00    0.00    0.00     0.00      0.00
14:00:00    0.00    0.00    97.39      0.00    0.00    0.00     0.00      0.00
14:20:00    0.00    0.00    93.61      0.00    0.00    0.00     0.00      0.00
14:40:00    0.00    0.00    95.13      0.00    0.00    0.00     0.00      0.00
15:00:00    0.00    0.00    93.83      0.00    0.00    0.00     0.00      0.00
15:20:01    0.00    0.00    70.62      0.00    0.00    0.00     0.00      0.00
15:40:00    0.00    0.00    55.86      0.00    0.00    0.00     0.00      0.00
16:00:00    0.00    0.00    42.40      0.00    0.00    0.00     0.00      0.00
16:20:00    0.00    0.00    41.51      0.00    0.00    0.00     0.00      0.00
16:40:00    0.00    0.00    52.74      0.00    0.00    0.00     0.00      0.00
17:00:00    0.00    0.00    61.05      0.00    0.00    0.00     0.00      0.00
17:20:00    0.00    0.00    62.29      0.00    0.00    0.00     0.00      0.00
17:40:00    0.00    0.00     6.75      0.00    0.00    0.00     0.00      0.00
18:00:00    0.00    0.00     0.42      0.00    0.00    0.00     0.00      0.00

Average     0.00    0.00    69.93      0.00    0.00    0.00     0.00      0.00

论坛徽章:
0
6 [报告]
发表于 2003-01-13 11:27 |只看该作者

[转帖]进程管理的两个命令(PS,Sar)

sar10

SCO_SV ots 3.2v5.0.4 Pent Pro    01/10/103

08:00:00    %usr    %sys    %wio   %idle (-u)
08:20:00       1       3       2      94
08:40:00       1       3       2      94
09:00:00       1       3       2      94
09:20:00       1       3       2      94
09:40:00       1       3       2      94
10:00:00       1       3       2      94
10:20:00       1       3       2      94
10:40:00       1       3       2      94
11:00:00       1       3       2      94
11:20:00       1       3       2      94
11:40:00       1       3       2      94
12:00:01       1       3       2      94
12:20:00       1       3       2      94
12:40:00       1       3       2      94
13:00:00       1       3       2      94
13:20:00       1       3       2      94
13:40:00       1       3       2      94
14:00:00       1       3       2      94
14:20:00       1       3       2      94
14:40:00       1       3       2      94
15:00:00       1       3       2      94
15:20:00       1       3       2      94
15:40:00       1       3       2      94
16:00:00       1       3       2      94
16:20:00       1       3       2      94
16:40:00       1       3       2      94
17:00:00       1       3       2      94
17:20:00       1       3       2      94
17:40:00       1       3       2      94
18:00:00       1       3       2      94

Average        1       3       2      94

08:00:00 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s (-b)
08:20:00       0     353     100      34      61      45       0       0
08:40:00       0     352     100      34      61      45       0       0
09:00:00       0     353     100      34      62      44       0       0
09:20:00       0     354     100      34      62      44       0       0
09:40:00       1     355     100      34      62      45       0       0
10:00:00       0     353     100      34      62      44       0       0
10:20:00       0     355     100      35      62      44       0       0
10:40:00       0     354     100      34      62      44       0       0
11:00:00       0     355     100      35      62      44       0       0
11:20:00       0     356     100      35      63      44       0       0
11:40:00       0     355     100      35      63      44       0       0
12:00:01       0     354     100      35      62      44       0       0
12:20:00       1     358     100      35      63      45       0       0
12:40:00       0     355     100      35      63      45       0       0
13:00:00       0     353     100      34      61      45       0       0
13:20:00       0     353     100      34      62      45       0       0
13:40:00       0     355     100      34      62      45       0       0
14:00:00       0     354     100      34      62      44       0       0
14:20:00       0     353     100      34      62      44       0       0
14:40:00       0     354     100      34      62      44       0       0
15:00:00       0     354     100      35      62      44       0       0
15:20:00       0     354     100      35      62      44       0       0
15:40:00       0     355     100      35      63      44       0       0
16:00:00       0     355     100      35      63      45       0       0
16:20:00       0     356     100      35      63      45       0       0
16:40:00       0     356     100      35      63      44       0       0
17:00:00       0     354     100      35      62      44       0       0
17:20:00       1     357     100      35      63      45       0       0
17:40:00       0     353     100      34      62      44       0       0
18:00:00       0     353     100      34      62      44       0       0

Average        0     354     100      35      62      44       0       0

08:00:00  device   %busy     avque     r+w/s    blks/s    avwait    avserv (-d)
08:20:00  wd-0      2.53      4.25     33.41     88.10      2.46      0.76

08:40:00  wd-0      2.56      4.12     33.48     87.86      2.39      0.77

09:00:00  wd-0      2.55      4.12     33.84     88.58      2.35      0.75

09:20:00  wd-0      2.56      4.20     34.04     89.07      2.40      0.75

09:40:00  wd-0      2.70      4.06     34.19     90.16      2.42      0.79

10:00:00  wd-0      2.59      3.93     34.14     89.18      2.22      0.76

10:20:00  wd-0      2.62      4.13     34.34     89.62      2.39      0.76

10:40:00  wd-0      2.58      4.12     34.14     89.18      2.36      0.76

11:00:00  wd-0      2.60      4.10     34.59     90.13      2.33      0.75

11:20:00  wd-0      2.63      4.12     34.85     90.63      2.35      0.75

11:40:00  wd-0      2.61      4.13     34.69     90.31      2.35      0.75

12:00:01  wd-0      2.58      4.12     34.52     89.92      2.33      0.75

12:20:00  wd-0      2.68      4.07     34.83     91.37      2.36      0.77

12:40:00  wd-0      2.63      4.13     34.30     89.66      2.40      0.77

13:00:00  wd-0      2.53      4.11     33.61     88.28      2.34      0.75

13:20:00  wd-0      2.50      4.28     33.72     88.34      2.43      0.74

13:40:00  wd-0      2.54      4.21     33.99     89.20      2.40      0.75

14:00:00  wd-0      2.60      4.26     34.13     89.15      2.48      0.76

14:20:00  wd-0      2.56      4.24     33.91     88.75      2.45      0.75

14:40:00  wd-0      2.55      4.15     34.14     89.18      2.36      0.75

15:00:00  wd-0      2.62      4.13     34.32     89.55      2.40      0.76

15:20:00  wd-0      2.57      4.22     34.22     89.37      2.42      0.75

15:40:00  wd-0      2.61      4.05     34.45     89.84      2.31      0.76

16:00:00  wd-0      2.70      3.98     34.31     90.23      2.34      0.79

16:20:00  wd-0      2.60      4.08     34.48     89.95      2.32      0.75

16:40:00  wd-0      2.71      4.06     34.56     90.69      2.40      0.79

17:00:00  wd-0      2.62      4.13     34.51     90.07      2.37      0.76

17:20:00  wd-0      2.81      3.98     34.91     91.97      2.40      0.81

17:40:00  wd-0      2.58      4.19     33.99     88.89      2.42      0.76

18:00:00  wd-0      2.63      4.25     34.04     89.09      2.51      0.77


Average   wd-0      2.61      4.13     34.22     89.54      2.38      0.76

08:00:00  c_hits cmisses (hit %) (-n)
08:20:00 1350109   45585 (96%)
08:40:00 1347177   45394 (96%)
09:00:00 1347571   45396 (96%)
09:20:00 1349984   45559 (96%)
09:40:00 1348565   45442 (96%)
10:00:00 1347518   45401 (96%)
10:20:00 1350083   45560 (96%)
10:40:00 1348475   45437 (96%)
11:00:00 1349332   45496 (96%)
11:20:00 1350431   45558 (96%)
11:40:00 1349064   45435 (96%)
12:00:01 1347993   45401 (96%)
12:20:00 1349681   45528 (96%)
12:40:00 1349356   45511 (96%)
13:00:00 1347336   45400 (96%)
13:20:00 1350018   45557 (96%)
13:40:00 1349816   45474 (96%)
14:00:00 1347969   45400 (96%)
14:20:00 1350130   45560 (96%)
14:40:00 1348938   45441 (96%)
15:00:00 1349203   45495 (96%)
15:20:00 1350069   45557 (96%)
15:40:00 1347332   45381 (96%)
16:00:00 1347597   45391 (96%)
16:20:00 1350474   45591 (96%)
16:40:00 1348713   45452 (96%)
17:00:00 1347517   45360 (96%)
17:20:00 1350913   45552 (96%)
17:40:00 1348620   45431 (96%)
18:00:00 1347280   45366 (96%)

Average  40467264 1364111 (-5%)

08:00:00 rawch/s canch/s outch/s rcvin/s xmtin/s mdmin/s (-y)
08:20:00       0       0       6       0       0       0
08:40:00       0       0       8       0       0       0
09:00:00       0       0      15       0       0       0
09:20:00       0       0      18       0       0       0
09:40:00       0       0      19       0       0       0
10:00:00       0       0      21       0       0       0
10:20:00       0       0      25       0       0       0
10:40:00       0       0      21       0       0       0
11:00:00       0       0      29       0       0       0
11:20:00       0       0      34       0       0       0
11:40:00       0       0      31       0       0       0
12:00:01       0       0      28       0       0       0
12:20:00       0       0      31       0       0       0
12:40:00       0       0      21       0       0       0
13:00:00       0       0       9       0       0       0
13:20:00       0       0      12       0       0       0
13:40:00       0       0      16       0       0       0
14:00:00       0       0      19       0       0       0
14:20:00       0       0      15       0       0       0
14:40:00       0       0      20       0       0       0
15:00:00       0       0      24       0       0       0
15:20:00       0       0      22       0       0       0
15:40:00       0       0      26       0       0       0
16:00:00       0       0      22       0       0       0
16:20:00       0       0      25       0       0       0
16:40:00       0       0      27       0       0       0
17:00:00       0       0      26       0       0       0
17:20:00       0       0      26       0       0       0
17:40:00       0       0      17       0       0       0
18:00:00       0       0      18       0       0       0

Average        0       0      21       0       0       0

08:00:00 scall/s sread/s swrit/s  fork/s  exec/s  rchar/s  wchar/s (-c)
08:20:00    1300      73      14    0.51    0.51    43718     1204
08:40:00    1302      73      15    0.51    0.51    43702     1213
09:00:00    1300      73      14    0.50    0.50    43719     1231
09:20:00    1304      74      15    0.51    0.51    43769     1247
09:40:00    1309      74      15    0.51    0.51    43769     1252
10:00:00    1307      74      15    0.50    0.50    43749     1254
10:20:00    1308      74      16    0.51    0.51    43808     1271
10:40:00    1306      74      15    0.51    0.51    43772     1258
11:00:00    1316      75      17    0.51    0.51    43823     1291
11:20:00    1315      76      17    0.51    0.51    43873     1311
11:40:00    1316      76      17    0.51    0.51    43849     1300
12:00:01    1312      75      17    0.50    0.50    43810     1288
12:20:00    1332      77      18    0.51    0.51    43889     1313
12:40:00    1314      75      16    0.51    0.51    43788     1264
13:00:00    1302      73      15    0.50    0.50    43693     1218
13:20:00    1300      73      14    0.51    0.51    43736     1221
13:40:00    1309      75      16    0.51    0.51    43764     1247
14:00:00    1320      76      17    0.50    0.50    43791     1272
14:20:00    1312      75      16    0.51    0.51    43776     1248
14:40:00    1309      75      16    0.51    0.51    43787     1260
15:00:00    1309      75      16    0.51    0.51    43785     1270
15:20:00    1307      74      16    0.51    0.51    43793     1261
15:40:00    1308      74      16    0.51    0.51    43796     1275
16:00:00    1309      75      16    0.50    0.50    43768     1267
16:20:00    1312      75      17    0.51    0.51    43812     1278
16:40:00    1309      75      16    0.51    0.51    43797     1278
17:00:00    1308      74      16    0.50    0.50    43777     1276
17:20:00    1314      76      17    0.51    0.51    43845     1282
17:40:00    1302      73      15    0.51    0.51    43747     1237
18:00:00    1307      74      15    0.50    0.50    43742     1248

Average     1309      74      16    0.51    0.51    43782     1261

08:00:00 swpin/s bswin/s swpot/s bswot/s pswch/s (-w)
08:20:00    2.50    20.0    0.00     0.0     350
08:40:00    2.50    20.0    0.00     0.0     350
09:00:00    2.50    20.0    0.00     0.0     350
09:20:00    2.50    20.0    0.00     0.0     352
09:40:00    2.50    20.0    0.00     0.0     353
10:00:00    2.50    20.0    0.00     0.0     352
10:20:00    2.50    20.0    0.00     0.0     353
10:40:00    2.50    20.0    0.00     0.0     353
11:00:00    2.50    20.0    0.00     0.0     355
11:20:00    2.50    20.0    0.00     0.0     356
11:40:00    2.50    20.0    0.00     0.0     355
12:00:01    2.50    20.0    0.00     0.0     354
12:20:00    2.51    20.1    0.00     0.0     358
12:40:00    2.50    20.0    0.00     0.0     354
13:00:00    2.50    20.0    0.00     0.0     351
13:20:00    2.50    20.0    0.00     0.0     350
13:40:00    2.50    20.0    0.00     0.0     354
14:00:00    2.50    20.0    0.00     0.0     356
14:20:00    2.50    20.0    0.00     0.0     353
14:40:00    2.50    20.0    0.00     0.0     352
15:00:00    2.50    20.0    0.00     0.0     353
15:20:00    2.50    20.0    0.00     0.0     353
15:40:00    2.51    20.0    0.00     0.0     354
16:00:00    2.50    20.0    0.00     0.0     355
16:20:00    2.50    20.0    0.00     0.0     355
16:40:00    2.50    20.0    0.00     0.0     354
17:00:00    2.50    20.0    0.00     0.0     353
17:20:00    2.50    20.0    0.00     0.0     356
17:40:00    2.50    20.0    0.00     0.0     351
18:00:00    2.50    20.0    0.00     0.0     353

Average     2.50    20.0    0.00     0.0     353

08:00:00  iget/s namei/s dirbk/s (-a)
08:20:00    1141     155     200
08:40:00    1140     155     200
09:00:00    1139     155     200
09:20:00    1141     156     200
09:40:00    1141     155     200
10:00:00    1139     155     200
10:20:00    1142     156     200
10:40:00    1140     155     200
11:00:00    1141     156     200
11:20:00    1142     156     200
11:40:00    1141     156     200
12:00:01    1140     155     200
12:20:00    1143     156     200
12:40:00    1141     156     200
13:00:00    1139     155     200
13:20:00    1141     156     200
13:40:00    1140     155     200
14:00:00    1139     155     200
14:20:00    1141     156     200
14:40:00    1140     155     200
15:00:00    1141     156     200
15:20:00    1141     156     200
15:40:00    1140     155     200
16:00:00    1140     155     200
16:20:00    1142     156     200
16:40:00    1141     155     200
17:00:00    1140     155     200
17:20:00    1143     156     200
17:40:00    1140     155     200
18:00:00    1139     155     200

Average     1141     155     200

08:00:00 runq-sz %runocc swpq-sz %swpocc (-q)
08:20:00                                
08:40:00     2.4     100               
09:00:00     2.5     100               
09:20:00     3.0       3               
09:40:00     1.0       2               
10:00:00                                
10:20:00                                
10:40:00     2.0       5               
11:00:00     2.3       3               
11:20:00     2.1      16               
11:40:00     2.3      18               
12:00:01     2.0       2               
12:20:00     2.4      38               
12:40:00     3.0       1               
13:00:00                                
13:20:00                                
13:40:00                                
14:00:00     3.5       1               
14:20:00     1.8       2               
14:40:00     2.0       1               
15:00:00     2.0      15               
15:20:00     2.0       4               
15:40:00     2.4       9               
16:00:00     2.7      18               
16:20:00     3.0       0               
16:40:00                                
17:00:00     1.0       0               
17:20:00     1.7       2               
17:40:00     3.0       1               
18:00:00     3.0       0               

Average      2.4      86               

08:00:00  proc-sz   ov  inod-sz   ov  file-sz   ov  lock-sz    (-v)
08:20:00   70/  95   0  262/ 614   0  259/ 341   0    0/ 128
08:40:00   69/  95   0  258/ 614   0  254/ 341   0    0/ 128
09:00:00   69/  95   0  256/ 614   0  254/ 341   0    0/ 128
09:20:00   69/  95   0  257/ 614   0  254/ 341   0    0/ 128
09:40:00   69/  95   0  257/ 614   0  254/ 341   0    0/ 128
10:00:00   69/  95   0  257/ 614   0  254/ 341   0    0/ 128
10:20:00   69/  95   0  257/ 614   0  254/ 341   0    0/ 128
10:40:00   69/  95   0  257/ 614   0  254/ 341   0    0/ 128
11:00:00   69/  95   0  257/ 614   0  254/ 341   0    0/ 128
11:20:00   69/  95   0  257/ 614   0  254/ 341   0    0/ 128
11:40:00   69/  95   0  256/ 614   0  254/ 341   0    0/ 128
12:00:01   69/  95   0  257/ 614   0  254/ 341   0    0/ 128
12:20:00   70/  95   0  262/ 614   0  259/ 341   0    0/ 128
12:40:00   71/  95   0  264/ 614   0  261/ 341   0    0/ 128
13:00:00   71/  95   0  262/ 614   0  259/ 341   0    0/ 128
13:20:00   71/  95   0  263/ 614   0  260/ 341   0    0/ 128
13:40:00   70/  95   0  258/ 614   0  255/ 341   0    0/ 128
14:00:00   70/  95   0  260/ 614   0  256/ 341   0    0/ 128
14:20:00   70/  95   0  258/ 614   0  256/ 341   0    0/ 128
14:40:00   70/  95   0  259/ 614   0  256/ 341   0    0/ 128
15:00:00   70/  95   0  259/ 614   0  256/ 341   0    0/ 128
15:20:00   70/  95   0  259/ 614   0  256/ 341   0    0/ 128
15:40:00   71/  95   0  262/ 614   0  258/ 341   0    0/ 128
16:00:00   71/  95   0  264/ 614   0  259/ 341   0    0/ 128
16:20:00   71/  95   0  264/ 614   0  261/ 341   0    0/ 128
16:40:00   71/  95   0  264/ 614   0  261/ 341   0    0/ 128
17:00:00   71/  95   0  262/ 614   0  258/ 341   0    0/ 128
17:20:00   71/  95   0  264/ 614   0  261/ 341   0    0/ 128
17:40:00   71/  95   0  263/ 614   0  260/ 341   0    0/ 128
18:00:00   71/  95   0  263/ 614   0  258/ 341   0    0/ 128


08:00:00   msg/s  sema/s (-m)
08:20:00    0.00    0.00
08:40:00    0.00    0.00
09:00:00    0.00    0.00
09:20:00    0.00    0.00
09:40:00    0.00    0.00
10:00:00    0.00    0.00
10:20:00    0.00    0.00
10:40:00    0.00    0.00
11:00:00    0.00    0.00
11:20:00    0.00    0.00
11:40:00    0.00    0.00
12:00:01    0.00    0.00
12:20:00    0.00    0.00
12:40:00    0.00    0.00
13:00:00    0.00    0.00
13:20:00    0.00    0.00
13:40:00    0.00    0.00
14:00:00    0.00    0.00
14:20:00    0.00    0.00
14:40:00    0.00    0.00
15:00:00    0.00    0.00
15:20:00    0.00    0.00
15:40:00    0.00    0.00
16:00:00    0.00    0.00
16:20:00    0.00    0.00
16:40:00    0.00    0.00
17:00:00    0.00    0.00
17:20:00    0.00    0.00
17:40:00    0.00    0.00
18:00:00    0.00    0.00

Average     0.00    0.00

08:00:00  vflt/s  pflt/s pgfil/s  rclm/s (-p)
08:20:00   25.12   24.33    0.00    0.00
08:40:00   25.06   24.17    0.00    0.00
09:00:00   25.04   24.09    0.00    0.00
09:20:00   25.11   24.33    0.00    0.00
09:40:00   25.08   24.19    0.00    0.00
10:00:00   25.04   24.09    0.00    0.00
10:20:00   25.11   24.33    0.00    0.00
10:40:00   25.08   24.19    0.00    0.00
11:00:00   25.08   24.21    0.01    0.00
11:20:00   25.11   24.33    0.00    0.00
11:40:00   25.08   24.19    0.00    0.00
12:00:01   25.04   24.09    0.00    0.00
12:20:00   25.13   24.35    0.00    0.00
12:40:00   25.10   24.27    0.00    0.00
13:00:00   25.04   24.09    0.00    0.00
13:20:00   25.12   24.33    0.00    0.00
13:40:00   25.06   24.17    0.00    0.00
14:00:00   25.04   24.09    0.00    0.00
14:20:00   25.12   24.33    0.00    0.00
14:40:00   25.07   24.19    0.00    0.00
15:00:00   25.07   24.21    0.00    0.00
15:20:00   25.12   24.33    0.00    0.00
15:40:00   25.08   24.21    0.00    0.00
16:00:00   25.04   24.07    0.00    0.00
16:20:00   25.13   24.35    0.00    0.00
16:40:00   25.07   24.19    0.00    0.00
17:00:00   25.04   24.08    0.00    0.00
17:20:00   25.21   24.34    0.00    0.00
17:40:00   25.08   24.19    0.00    0.00
18:00:00   25.03   24.07    0.00    0.00

Average    25.08   24.21    0.00    0.00

08:00:00 freemem freeswp (-r)
08:20:00     370  148664
08:40:00     370  148664
09:00:00     370  148664
09:20:00     370  148664
09:40:00     370  148664
10:00:00     370  148664
10:20:00     370  148664
10:40:00     370  148664
11:00:00     370  148664
11:20:00     370  148664
11:40:00     370  148664
12:00:01     370  148664
12:20:00     370  148664
12:40:00     368  148664
13:00:00     360  148664
13:20:00     360  148664
13:40:00     360  148664
14:00:00     359  148664
14:20:00     359  148664
14:40:00     359  148664
15:00:00     359  148664
15:20:00     361  148664
15:40:00     361  148664
16:00:00     361  148664
16:20:00     361  148664
16:40:00     361  148664
17:00:00     361  148664
17:20:00     361  148664
17:40:00     361  148664
18:00:00     361  148664

Average      365  148664

08:00:00 cpybuf/s slpcpybuf/s (-B)
08:20:00     0.00        0.00
08:40:00     0.00        0.00
09:00:00     0.00        0.00
09:20:00     0.00        0.00
09:40:00     0.00        0.00
10:00:00     0.00        0.00
10:20:00     0.00        0.00
10:40:00     0.00        0.00
11:00:00     0.00        0.00
11:20:00     0.00        0.00
11:40:00     0.00        0.00
12:00:01     0.00        0.00
12:20:00     0.00        0.00
12:40:00     0.00        0.00
13:00:00     0.00        0.00
13:20:00     0.00        0.00
13:40:00     0.00        0.00
14:00:00     0.00        0.00
14:20:00     0.00        0.00
14:40:00     0.00        0.00
15:00:00     0.00        0.00
15:20:00     0.00        0.00
15:40:00     0.00        0.00
16:00:00     0.00        0.00
16:20:00     0.00        0.00
16:40:00     0.00        0.00
17:00:00     0.00        0.00
17:20:00     0.00        0.00
17:40:00     0.00        0.00
18:00:00     0.00        0.00

Average      0.00        0.00

08:00:00 dptch/s idler/s swidle/s (-R)
08:20:00  495.90  135.14   120.31
08:40:00  498.71  136.30   120.75
09:00:00  496.29  135.23   120.35
09:20:00  499.62  136.57   121.04
09:40:00  503.26  138.16   121.82
10:00:00  499.66  136.61   121.09
10:20:00  503.60  138.41   121.88
10:40:00  502.99  138.04   121.65
11:00:00  508.15  139.59   122.26
11:20:00  509.56  139.71   122.34
11:40:00  508.31  139.52   122.15
12:00:01  506.18  138.80   121.88
12:20:00  514.51  141.80   123.24
12:40:00  505.46  138.50   121.99
13:00:00  498.85  136.30   120.96
13:20:00  495.81  135.27   120.24
13:40:00  502.89  137.05   121.44
14:00:00  508.41  138.68   122.28
14:20:00  503.43  137.25   121.23
14:40:00  502.63  137.60   121.42
15:00:00  504.10  138.04   121.43
15:20:00  502.03  137.01   121.07
15:40:00  505.06  138.57   121.78
16:00:00  507.26  139.22   122.03
16:20:00  509.09  140.14   122.65
16:40:00  506.58  139.39   122.13
17:00:00  505.34  138.91   121.87
17:20:00  511.75  141.29   123.45
17:40:00  498.30  136.39   120.87
18:00:00  501.60  137.03   121.37

Average   503.84  138.02   121.63

08:00:00 ovsiohw/s ovsiodma/s ovclist/s (-g)
08:20:00      0.00       0.00      0.00
08:40:00      0.00       0.00      0.00
09:00:00      0.00       0.00      0.00
09:20:00      0.00       0.00      0.00
09:40:00      0.00       0.00      0.00
10:00:00      0.00       0.00      0.00
10:20:00      0.00       0.00      0.00
10:40:00      0.00       0.00      0.00
11:00:00      0.00       0.00      0.00
11:20:00      0.00       0.00      0.00
11:40:00      0.00       0.00      0.00
12:00:01      0.00       0.00      0.00
12:20:00      0.00       0.00      0.00
12:40:00      0.00       0.00      0.00
13:00:00      0.00       0.00      0.00
13:20:00      0.00       0.00      0.00
13:40:00      0.00       0.00      0.00
14:00:00      0.00       0.00      0.00
14:20:00      0.00       0.00      0.00
14:40:00      0.00       0.00      0.00
15:00:00      0.00       0.00      0.00
15:20:00      0.00       0.00      0.00
15:40:00      0.00       0.00      0.00
16:00:00      0.00       0.00      0.00
16:20:00      0.00       0.00      0.00
16:40:00      0.00       0.00      0.00
17:00:00      0.00       0.00      0.00
17:20:00      0.00       0.00      0.00
17:40:00      0.00       0.00      0.00
18:00:00      0.00       0.00      0.00

Average       0.00       0.00      0.00

08:00:00 mpbuf/s  ompb/s mphbuf/s omphbuf/s  pbuf/s spbuf/s dmabuf/s sdmabuf/s (-h)
08:20:00    0.00    0.00    22.97      0.00    0.00    0.00     0.00      0.00
08:40:00    0.00    0.00    23.00      0.00    0.00    0.00     0.00      0.00
09:00:00    0.00    0.00    23.26      0.00    0.00    0.00     0.00      0.00
09:20:00    0.00    0.00    23.44      0.00    0.00    0.00     0.00      0.00
09:40:00    0.00    0.00    23.53      0.00    0.00    0.00     0.00      0.00
10:00:00    0.00    0.00    23.44      0.00    0.00    0.00     0.00      0.00
10:20:00    0.00    0.00    23.64      0.00    0.00    0.00     0.00      0.00
10:40:00    0.00    0.00    23.47      0.00    0.00    0.00     0.00      0.00
11:00:00    0.00    0.00    23.85      0.00    0.00    0.00     0.00      0.00
11:20:00    0.00    0.00    24.03      0.00    0.00    0.00     0.00      0.00
11:40:00    0.00    0.00    23.92      0.00    0.00    0.00     0.00      0.00
12:00:01    0.00    0.00    23.78      0.00    0.00    0.00     0.00      0.00
12:20:00    0.00    0.00    24.07      0.00    0.00    0.00     0.00      0.00
12:40:00    0.00    0.00    23.60      0.00    0.00    0.00     0.00      0.00
13:00:00    0.00    0.00    23.07      0.00    0.00    0.00     0.00      0.00
13:20:00    0.00    0.00    23.19      0.00    0.00    0.00     0.00      0.00
13:40:00    0.00    0.00    23.41      0.00    0.00    0.00     0.00      0.00
14:00:00    0.00    0.00    23.55      0.00    0.00    0.00     0.00      0.00
14:20:00    0.00    0.00    23.34      0.00    0.00    0.00     0.00      0.00
14:40:00    0.00    0.00    23.56      0.00    0.00    0.00     0.00      0.00
15:00:00    0.00    0.00    23.65      0.00    0.00    0.00     0.00      0.00
15:20:00    0.00    0.00    23.55      0.00    0.00    0.00     0.00      0.00
15:40:00    0.00    0.00    23.72      0.00    0.00    0.00     0.00      0.00
16:00:00    0.00    0.00    23.61      0.00    0.00    0.00     0.00      0.00
16:20:00    0.00    0.00    23.77      0.00    0.00    0.00     0.00      0.00
16:40:00    0.00    0.00    23.82      0.00    0.00    0.00     0.00      0.00
17:00:00    0.00    0.00    23.74      0.00    0.00    0.00     0.00      0.00
17:20:00    0.00    0.00    23.95      0.00    0.00    0.00     0.00      0.00
17:40:00    0.00    0.00    23.35      0.00    0.00    0.00     0.00      0.00
18:00:00    0.00    0.00    23.42      0.00    0.00    0.00     0.00      0.00

Average     0.00    0.00    23.56      0.00    0.00    0.00     0.00      0.00

论坛徽章:
0
7 [报告]
发表于 2003-01-13 13:20 |只看该作者

[转帖]进程管理的两个命令(PS,Sar)

那位分析一下。

论坛徽章:
0
8 [报告]
发表于 2003-01-13 22:54 |只看该作者

[转帖]进程管理的两个命令(PS,Sar)

下面引用由月冷西湖2003/01/13 01:20pm 发表的内容:
那位分析一下。
到这参考一下。
http://www.chinaunix.net/cgi-bin/bbs/topic.cgi?forum=4&topic=17153&show=0
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP