免费注册 查看新帖 |

Chinaunix

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

如何分析这个mpstat 报告? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-02-15 22:27 |只看该作者 |倒序浏览
变量        说明        变量        说明
CPU         CPU ID        migr       
Minf        轻微故障(minor faults)        smtx       
Mjf         重要故障(major faults)        srw       
Xcal        处理机间的调用        syscl        系统调用次数
Intr        中断数        usr        用户时间所占百分比
Ithr        线程中断数(不包括时钟中断)        sys        系统时间所占百分比
csw        上下文切换次数        wt        等待时间所占百分比
icsw        强制的上下文切换次数        idle        空闲时间所占百分比


下面的报告可以看出系统由一些轻微的错误,请问这是什么错误呢?
这台服务器是Sun e250,是一台邮件服务器,安装了补丁集 solaris 5.8
我还有另一台sun e450 安装oracle ,同样也打了补丁基,solaris 5.8 但是却没有错误。

以下是sun e250的采样。
--------------------------------------------------------------
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  0  123   0    0   408  308  102   17    0    0    0   424    2   4   0  94
  0    0   0    0   410  310   46    0    0    0    0    37    0   2   1  97
  0   22   0    0   421  321   57    0    0    0    0    98    0   3   1  96
  0    0   0    0   446  346  119   10    0    0    0   121    0   2   1  97
  0  123   0    0   405  305   93   16    0    0    0   318    1   5   0  94
  0    0   0    0   403  303   44    0    0    0    0    30    0   2   0  98
  0   22   0    0   426  326   66    0    0    0    0   107    0   2   1  97
  0    0   0    0   441  341  114    8    0    0    0   111    0   2   1  97
  0  123   0    0   408  308   87   14    0    0    0   324    2   4   1  93
  0    0   0    0   408  308   49    0    0    0    0    30    0   2   0  98
--------------------------------------------------------------

以下是sun e450 的采样报告。(2U)
--------------------------------------------------------------
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  1    0   0  138   415  301   40   26    3    0    0    36  100   0   0   0
  3    0   0   18   157  119   77   40    4    0    0  1584  100   0   0   0
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  1    0   0  135   416  303   33   23    1    0    0    31  100   0   0   0
  3    0   0   11   136  100   65   35    1    0    0    71   99   1   0   0
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  1    0   0  136   410  305   44   24    7    0    0    57  100   0   0   0
  3    0   0    3   137  100   63   36    6    1    0   126  100   0   0   0
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  1    0   0  145   419  301   81   42    7    0    0   115  100   0   0   0
  3    0   0   20   167  124   79   45    6    0    0   324  100   0   0   0
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  1    0   0  133   408  300   61   33    5    1    0    86  100   0   0   0
  3    0   0    7   134  100   58   33    4    0    0    49  100   0   0   0
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  1    0   0  133   415  307   64   34    3    0    0   166   99   1   0   0
  3    0   0    6   134  100   59   33    2    0    0    45  100   0   0   0
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  1    0   0  137   411  300   73   38    3    0    0  1520  100   0   0   0
  3    0   0   13   154  119   54   33    2    0    0    36  100   0   0   0
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  1    0   0  126   409  301   54   29    2    0    0    68  100   0   0   0
  3    0   0    6   127  100   42   26    1    0    0    30  100   0   0   0
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  1    0   0  154   434  327  107   57    3    1    0   173  100   0   0   0
  3    0   0    5   155  100   96   53    6    0    0   243  100   0   0   0

请大家帮助分析一下。

论坛徽章:
0
2 [报告]
发表于 2004-02-16 07:31 |只看该作者

如何分析这个mpstat 报告?

250看不出问题,450采集的不对sys wt idl 怎么都是0?

论坛徽章:
0
3 [报告]
发表于 2004-02-16 08:58 |只看该作者

如何分析这个mpstat 报告?

虽然 sys wt idl 值都是0 ,但是你注意看usr,user表示的使用户进程所占用的系统cpu。都是100。

另外250 所指的那些微小的错误可以忽略吗?

论坛徽章:
1
IT运维版块每日发帖之星
日期:2016-05-28 06:20:00
4 [报告]
发表于 2004-02-16 09:02 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
1
IT运维版块每日发帖之星
日期:2016-05-28 06:20:00
5 [报告]
发表于 2004-02-16 09:05 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
6 [报告]
发表于 2004-02-16 09:47 |只看该作者

如何分析这个mpstat 报告?

谢谢你,oldunix
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP