从mpstat稳步增加instr / s [英] steadily increasing instr/s from mpstat

查看:75
本文介绍了从mpstat稳步增加instr / s的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我是Linux的新手,我在我的网络服务器上运行CentOS。


我一直在使用mpstat来检查处理器的利用率,而且大多数数字都很好(据我所知)。


这里是我的mpstat输出

展开 | 选择 | Wrap < span class =codeDivider> | 行号

解决方案

< blockquote>从在线 mpstat联机帮助页看起来这是一个总数收到的中断次数,所以它应该越长,盒子就越长。


那只是我的15秒谷歌搜索,但是 - 我不能告诉你中断的好坏程度 - 我很高兴唱歌会更适合应用程序行为,但这只是一个猜测。


谢谢西卡里,


我看到了那个页面,但拿了意思是每秒中断的次数,而不是机器启动时的中断总数的总和。


我想弄清楚每秒总数的总和是否合理,但你可能是对的。


如果是这样,我不会担心。

比较深入,使用ps -aux,它表明mysql使用的是153%的cpu。但mpstat显示使用的cpu非常少。

我要尝试重新启动mysql,看看会发生什么。


谢谢,

Pete


pedalpete-


你能来吗张贴那个ps?非常有趣的是,超过100%可以使用,但我不怀疑它可以显示。 (我真的很好奇,亲自看到它)


谢谢,


sicarie


Hi all,

I''m fairly new to Linux and am running CentOS on my web server.

I''ve been using mpstat to check out the processor utilization, and most of the numbers look good (as far as I can tell).

Here''s my mpstat output

Expand|Select|Wrap|Line Numbers

解决方案

From an online mpstat manpage it looks like that is an aggregate number over time of the number of interrupts received, so it should be climbing the longer the box is up.

That''s just my 15 seconds of Googling, though - I couldn''t tell you what a good or bad level of interrupts may be - I''m guessing that would be more for application behavior, but that is just a guess.


Thanks Sicarie,

I saw that page, but took the meaning to be that is the number of interupts per second, not an aggregate of the total number of interupts as long as the machine was up.

I''m trying to figure out if an aggregate of total number per second makes sense, but you could be right.

If so, I won''t worry.
Bit digging deeper, using ps -aux, it shows that mysql is using 153% of cpu. But mpstat shows very little cpu being used.
I''m gonna try to restart mysql and see what happens.

Thanks,
Pete


pedalpete-

Could you post that ps? It''s very interesting that over 100% could be utilized, though I don''t doubt that it could show that. (I''m really just curious to see it, personally)

Thanks,

sicarie


这篇关于从mpstat稳步增加instr / s的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆