如何获取metricbeat kafka检测的cpu信息

Percentage of time the CPU is handling interrupts
CPU处理中断所占的时间百分比。
Does the percentage of time the CPU is busy include the percentage of time the CPU is handing interrupts?
CPU繁忙所占的时间百分比是否包括CPU处理中断所占的时间百分比?
All this was used to calculate what percentage of time people spent in an unpleasant state.
所有这些都被用来计算人们处于不快乐状态的时间比例是多少。
For each CPU, it shows the percentage of time the CPU was idle, the percentage of time the CPU was busy, and the percentage of time the CPU spent handling interrupts.
为每个CPU显示出了CPU空闲所占的时间百分比、CPU繁忙所占的时间百分比以及CPU用来处理中断所占的时间百分比。
The idle time shows the percentage of time that the CPU(s) were idle.
空闲时间显示了CPU处于空闲状态的时间的百分比。
The service provider guarantees that the services it provides will be available for a certain percentage of time (for example, 99.9%).
服务提供者保证它提供的服务在一定百分比的时间内(例如,99.9%)是可用的。
We define application utilization as the percentage of time allotted to an application in a given window of time continuously sliding over the application's complete run.
我们将应用程序利用率定义为:分配给特定时间窗内的应用程序的时间百分比,在这段时间内应用程序连续地执行完整个运行过程。
The service provider guarantees that the services it provides will be available for a certain percentage of time (for example, 99.9%).
服务提供商保证它所提供的服务具有一定的可用性,使用时间百分比表示,例如 99.9%。
Utilization is the percentage of time in a particular time window that the application is permitted to run, with the remainder being devoted to GC.
利用率是指应用程序所能够运行的特定时间窗中的时间百分比,剩余时间则用于GC。
Sleep efficiency was defined as the percentage of time a person actually slept in the period between going to bed at night and getting up in the morning.
睡眠质量被定义为人们从上床就寝到早上起床的周期中实际入睡的时间所占的比率。
Percentage of time the CPU is idle
CPU空闲所占的时间百分比。
Both vmstat and iostat report the percentage of time a system spends in iowait, meaning the CPU is idle but the system is waiting for IO to return.
vmstat和iostat报告系统在等待IO 方面花费的时间百分比,也就是CPU空闲而系统正在等待IO返回的时间。
To better support RT deadlines, Metronome distributes quanta devoted to GC work so that the application should receive some minimum percentage of time.
为了更好地支持RT时限,Metronome 将量子分配给GC,而应用程序应该具有最小的时间百分比。
tm_act: Reports back the percentage of time that the physical disk was active or the total time of disk requests.
tm_act:报告物理磁盘处于活动状态或者磁盘请求的总时间的时间百分比。
The NT PerfMon utility defines this metric as follows, "The % Total Processor Time is the average percentage of time that all the processors on the system are busy executing non-idle threads.
NTPerfMon实用工具对这一指标的定义如下:“%TotalProcessorTime 指系统上所有处理器执行非空闲线程的平均时间百分比。
On UNIX, the %iowait (the percentage of time that the CPU waits for disk I/O) is a good indicator of I/O saturation, and it should average less than 25 percent.
在UNIX 上,%iowait(CPU等待磁盘I/O的时间百分比)是I/O饱和程度的最好指示器,并且其平均值应该小于 25%。
Max CPU Time is the maximum percentage of time in seconds that the CPU was in use (running both kernel and non-kernel code, including IO wait time).
MaxCPUTime是按秒计算的CPU使用时间的最大百分比(运行内核及非内核代码,包括IO等待时间)。
Avg CPU Time is the average percentage of time that the CPU was in use.
AvgCPUTime是CPU使用时间的平均百分比。
Our social identity will in large part be determined by the percentage of time we spend being "discoverable".
在很大程度上,我们的社会身份将决定于花在“让人发现”上的时间。
The percentage of time that a device is operated or is designed to be operated;
一个设备工作或计划工作的时间百分比。
The amount or percentage of time a computer system or associated hardware remains nonfunctional.
计算机系统或有关的硬件处于不工作状态的时间占总时间的百分比。
Or, you can look for things in your life that are already like that and beat the drum of that until they play a higher percentage of time in the vibrational signal that you are emanating.
或者,你可以寻找生活中的一些让你感觉自由、放手、健康的事情,感激它们,使它们所散发出的高能频率占据更大的比重。
Each lock is recorded along with details about it, such as how long it is held, whether it contends, and the percentage of the time it blocks threads trying to obtain it.
记录每个锁及其详细信息,如保持的时间、是否争用以及它阻塞线程尝试获得它的时间百分比。
At the end of the day, sort all the time chunks into general categories, and find out what percentage of your time is being spent on each type of activity.
一天结束时,把这些时间段分类记录到综合类别中,然后找出你在每类活动中耗费时间的百分比。
Keep track of how often that turns out to be wrong in practice. When it's wrong more than some percentage of the time, switch to the pessimistic view that always pays the two round-trip cost.
在实践中跟踪它的错误率,如果错误率达到一定比例之后,切换到乐观的方法,它能弥补两次访问服务器带来的开销。
"Availability" tells you the percentage of the time that a component is "up" rather than "down".
“可用性”告诉您一个组件“运行(up)”相比较“停止(down)”的时间的百分比。
However, if an automatic business rule could serve as an approval mechanism even a percentage of the time, then significant costs savings could be realized.
不过,如果自动业务规则可以用作审核机制,即使是百分之一的时间,也可以实现显著的成本节约。
However, if an automatic business rule could serve as an approval mechanism even a percentage of the time, then significant costs savings could be realized.
不过,如果自动业务规则可以用作审核机制,即使是百分之一的时间,也可以实现显著的成本节约。
$firstVoiceSent
- 来自原声例句
请问您想要如何调整此模块?
感谢您的反馈,我们会尽快进行适当修改!
请问您想要如何调整此模块?
感谢您的反馈,我们会尽快进行适当修改!您当前所在位置:
软件、文章更新合集
贴子标题:
[]第九软件网最新文章教程合集
点击复制内容
今日更新文章列表全选: 如果当天文章较多,一次性全选会很卡,请自行注意。
[quote]今日更新文章列表
1、[url=/school/soft_jiaocheng/50237.html]美拍草稿箱在哪里 美拍草稿箱删除mv教程[/url]
2、[url=/school/youxiyule/youxiglmj/50236.html]天天来塔防感恩节游戏礼包领钻石体力活动[/url]
3、[url=/school/soft_jiaocheng/50235.html]腾讯视频我是电影迷12月答题赢iphone6活动[/url]
4、[url=/school/soft_jiaocheng/50088.html]人人影视国际版网址是什么 人人影视国际版最新网址[/url]
5、[url=/zixun/50234.html]小米MIUI透露Android5.0将在明年春天更新发布[/url]
6、[url=/school/youxiyule/youxiglmj/50233.html]lol虚空掘地者雷克塞怎么样 lol新英雄雷克塞技能一览[/url]
7、[url=/zixun/50232.html]Firefox浏览器新功能曝光 一键选择搜索引擎[/url]
8、[url=/school/soft_jiaocheng/50231.html]搜狐影音怎么搜索看片 搜狐影音在线点播教程[/url]
9、[url=/zixun/50230.html]苹果iphone6又出新广告 推语音文本新功能[/url]
10、[url=/school/soft_jiaocheng/50229.html]暴风影音账号怎么注册 暴风影音会员注册教程[/url]
11、[url=/school/soft_jiaocheng/50228.html]乱斗西游英雄怎么升星 乱斗西游手游升星攻略[/url]
12、[url=/school/youxiyule/youxiglmj/50227.html]天天富翁感恩节回馈女神安然萝莉娜娜齐献礼活动[/url]
13、[url=/school/youxiyule/youxiglmj/50226.html]天天酷跑感恩节幸运抽奖道具金币积分礼包活动网址[/url]
14、[url=/school/soft_jiaocheng/50225.html]芒果tv客户端下载视频怎么做?芒果tv下载视频简单方法[/url]
15、[url=/school/youxiyule/youxiglmj/50224.html]天天酷跑感恩节累计消耗钻石送萌萌哒熊和熊队长活动[/url]
16、[url=/school/soft_jiaocheng/50223.html]微信@好友怎么操作?微信朋友圈@好友方法步骤[/url]
17、[url=/school/youxiyule/youxiglmj/50222.html]天天酷跑感恩节购买指定角色坐骑2000积分返利[/url]
18、[url=/school/youxiyule/youxiglmj/50221.html]仙剑奇侠传手游QQ会员成长礼包领取方法及领取网址[/url]
19、[url=/zixun/50220.html]小米网客服部招聘笔试题曝光 列举三种知名辣条等奇葩问题[/url]
20、[url=/school/soft_jiaocheng/50219.html]暴风影音视频怎么分享给好友 暴风影音2014视频分享教程[/url]
21、[url=/zixun/50218.html]微软回应补缴税款 并非有意避税[/url]
22、[url=/school/soft_jiaocheng/50217.html]跑跑卡丁车酷炫狂霸拽洛迪敞篷跑车活动开启 敞篷车GP赛激情开战[/url]
23、[url=/school/soft_jiaocheng/50216.html]芒果tv视频怎么下载 芒果tv下载视频教程[/url]
24、[url=/zixun/50189.html]小米入股地产商 雷军斥资1亿元入股YOU+国际青年公寓[/url]
25、[url=/zixun/50215.html]手机充电仅需30秒 以色列海绵手机电池面世[/url]
26、[url=/school/shoujiyingyong/50214.html]广东移动10086如何查询号码归属地[/url]
27、[url=/school/soft_jiaocheng/50213.html]百度浏览器视频无法加载插件怎么办?切换模式是关键[/url]
28、[url=/school/shoujiyingyong/50212.html]赶集生活如何删除店铺 删除店铺方法[/url]
29、[url=/school/soft_jiaocheng/50211.html]美国双11怎么参与抢购 淘宝全球购黑色星期五海淘攻略[/url]
30、[url=/school/soft_jiaocheng/50210.html]龙之谷火山试炼好玩吗?怎么过关?火山试炼通关技巧[/url]
31、[url=/school/shoujiyingyong/50209.html]驾校一点通怎么用 驾校一点通使用教程[/url]
32、[url=/school/shoujiyingyong/50208.html]58同城金币商城如何兑换礼品 58同城金币商城兑换礼品方法[/url]
33、[url=/school/soft_jiaocheng/50207.html]感恩节优惠多 支付宝海外直购海淘教程[/url]
34、[url=/school/soft_jiaocheng/50206.html]qq音乐网页版听不了歌怎么办 解决网页版qq音乐无法播放[/url]
35、[url=/school/shoujiyingyong/50205.html]手机迅雷资源小组在哪 迅雷资源加入小组方法[/url]
36、[url=/school/shoujiyingyong/50204.html]去哪儿旅行如何添加常用旅客 去哪儿旅行添加常用旅客方法[/url]
37、[url=/school/shoujiyingyong/50203.html]广东移动10086如何查询话费余额 移动10086查询话费余额方法[/url]
38、[url=/school/youxiyule/youxiglmj/50202.html]qq飞车感恩节活动限时抢购感恩节祝福卡[/url]
39、[url=/school/shoujiyingyong/50201.html]迅雷看看如何订阅频道 迅雷看看订阅频道方法[/url]
40、[url=/school/youxiyule/youxiglmj/50200.html]天天酷跑累计充值2380钻送稀有宠物九尾灵狐活动[/url]
41、[url=/school/soft_jiaocheng/50196.html]ios9好不好?有什么更新?ios9用户期望新功能介绍[/url]
42、[url=/school/soft_jiaocheng/50199.html]联通流量银行红包如何发放 流量银行发红包方法步骤[/url]
43、[url=/school/youxiyule/youxiglmj/50198.html]天天酷跑累计消耗2888钻石送稀有精灵熊队长[/url]
44、[url=/school/youxiyule/youxiglmj/50197.html]dnf突破世界树活动怎么玩 dnf突破世界树活动介绍[/url]
45、[url=/school/soft_jiaocheng/50195.html]cf2.0神盾系统好玩吗?怎么玩?cf火线神盾玩法技巧[/url]
46、[url=/school/soft_jiaocheng/50194.html]咪咕音乐播放器好使用吗?怎么用?咪咕音乐使用方法步骤[/url]
47、[url=/school/soft_jiaocheng/50193.html]qq群匿名聊天换主题怎么操作?qq匿名聊天主题更换教程[/url]
48、[url=/school/soft_jiaocheng/50192.html]微信电话本与手机QQ语音哪个好 免费电话对比评测[/url]
49、[url=/zixun/50191.html]魅族感恩特惠 MX3降至1299元起[/url]
50、[url=/school/soft_jiaocheng/50190.html]网上抢票旅客注意啦!火车票放票时间调整[/url]
51、[url=/school/soft_jiaocheng/50188.html]微店买家付款是怎么操作的?手机微店付款方法步骤[/url]
52、[url=/school/soft_jiaocheng/50187.html]微店买家确认收货在哪儿?微店买家确认收货方法[/url]
53、[url=/zixun/50186.html]iphone首款防骚扰通讯管理软件搜狗号码通ios版上线[/url]
54、[url=/school/soft_jiaocheng/50182.html]支付宝海外直购怎么用 支付宝海外直购传统海购区别[/url]
55、[url=/school/shoujiyingyong/50185.html]飞信2014无法登陆怎么办 飞信2014无法登陆解决方法[/url]
56、[url=/school/shoujiyingyong/50184.html]迅雷上网加速器怎么用 迅雷上网加速器使用方法[/url]
57、[url=/school/youxiyule/youxiglmj/50183.html]cf2.0神盾系统是什么 cf火线神盾安全计划详情[/url]
58、[url=/zixun/50181.html]马云的儿子马元坤到底长什么样 网传照片都不真实[/url]
59、[url=/school/youxiyule/youxiglmj/50180.html]乱斗西游黑熊精厉害吗 黑熊精技能属性及获得方法[/url]
60、[url=/school/soft_jiaocheng/50179.html]迅雷上网加速器有什么用?如何使用?迅雷上网加速器使用技巧[/url]
61、[url=/school/shoujiyingyong/50178.html]淘WiFi如何设置锁屏断网时间 淘WiFi设置锁屏断网时间方法[/url]
62、[url=/school/youxiyule/youxiglmj/50177.html]天天风之旅满分多少分 天天风之旅一局分数上限[/url]
63、[url=/school/shoujiyingyong/50176.html]微密如何修改密码 微密修改密码方法[/url]
64、[url=/school/shoujiyingyong/50175.html]约你如何评论好友动态 约你评论好友动态方法[/url]
65、[url=/school/shoujiyingyong/50174.html]卖座电影如何收藏电影院 卖座电影收藏电影院方法[/url]
66、[url=/school/shoujiyingyong/50173.html]微店买家版如何购买商品 微店买家版购买商品方法[/url]
67、[url=/school/shoujiyingyong/50172.html]咕咚运动如何上传相片 咕咚运动上传相片方法[/url]
68、[url=/school/shoujiyingyong/50171.html]大众点评如何添加关注好友 大众点评添加关注好友方法[/url]
69、[url=/school/shoujiyingyong/50170.html]QQ安全中心如何开启QQ账号锁 QQ安全中心开启QQ账号锁方法[/url]
70、[url=/school/youxiyule/youxiglmj/50169.html]dnf世界树入口在哪里 dnf世界树怎么进入 [/url]
71、[url=/school/wangluojishu/50168.html]missing system.img是什么情况?解决安卓5.0missing system.img有方法[/url]
72、[url=/school/soft_jiaocheng/50167.html]wifried修复ios8wifi是怎么操作的 wifried修复ios8wifi方法[/url]
73、[url=/school/youxiyule/youxiglmj/50166.html]乱斗西游辅助英雄哪个好 乱斗西游辅助英雄推荐排行榜[/url]
74、[url=/school/soft_jiaocheng/50165.html]淘wifi好用吗?如何使用?阿里通信淘wifi使用技巧[/url]
75、[url=/zixun/50164.html]小米手机升级安卓棒棒糖时间曝光[/url]
76、[url=/school/youxiyule/youxiglmj/50163.html]天天风之旅感恩节收集气球赢海洋之心经验加成[/url]
77、[url=/zixun/50162.html]三星研究眼睛鼠标 通过眨眼控制电脑[/url]
78、[url=/zixun/50161.html]台湾香蕉研究所研究香蕉发电 可点亮LED灯[/url]
79、[url=/school/youxiyule/youxiglmj/50160.html]CF2.0新版本大猜想怎样改变缅怀兑换超值武器道具礼包[/url]
80、[url=/zixun/50159.html]小米平板电脑即将发售 售价不超599[/url]
81、[url=/school/youxiyule/youxiglmj/50158.html]DNF突破世界树副本怎么进 突破世界树快速升级攻略[/url]
82、[url=/zixun/50157.html]人人影视射手网宣布关闭 正版美剧时代来临[/url]
83、[url=/school/youxiyule/youxiglmj/50156.html]逆战呼唤战友寻赞之旅人人开赞领取“赞”礼包[/url]
84、[url=/school/soft_jiaocheng/50100.html]射手网关闭还有新招 推荐优秀带字幕播放器[/url]
85、[url=/school/soft_jiaocheng/50155.html]iOS8.1优化怎么设置 iOS8.1优化精简省电设置教程[/url]
86、[url=/school/soft_jiaocheng/50154.html]飞信2014登陆失败怎么办 飞信2014无法登陆解决办法[/url]
87、[url=/school/soft_jiaocheng/50153.html]电脑qq怎么查看连续登陆天数 qq连续登陆天数查看方法[/url]
88、[url=/school/soft_jiaocheng/50152.html]手机qq怎么看连续登陆天数 qq连续登陆天数查看方法[/url]
89、[url=/school/youxiyule/yulezixun/50151.html]什么仇什么怨出自哪里 公交嗑瓜子被打什么仇什么怨梗[/url]
90、[url=/school/youxiyule/youxiglmj/50150.html]天天风之旅海洋之心有什么用 s级装备海洋之心属性[/url]
91、[url=/zixun/50149.html]apple watch官方更新功能细节 新增3个独立功能[/url]
92、[url=/school/youxiyule/youxiglmj/50148.html]天龙八部3D帮会解散怎么办?如何防止帮会解散[/url]
93、[url=/school/soft_jiaocheng/50147.html]QQ圈子在哪里打开 2014QQ圈子打开方式[/url]
94、[url=/zixun/50146.html]iphone5c和iphone4s将于明年停产[/url]
95、[url=/school/soft_jiaocheng/50145.html]百度账号登陆超时怎么办 百度账号无法登陆解决办法[/url]
96、[url=/zixun/50144.html]兰博基尼奢华手机即将发售 安卓系统4G双卡[/url]
97、[url=/school/youxiyule/youxiglmj/50143.html]lol虚空挖地者雷克塞怎么玩如何搭配英雄玩法攻略[/url]
98、[url=/zixun/50142.html]国行iphone6发货提速 最快3至5天[/url]
99、[url=/school/youxiyule/youxiglmj/50141.html]lol战斗的召唤领取蓝色雄鹰头像红色夜枭头像活动[/url]
100、[url=/zixun/50140.html]韩国政府打击销售自拍杆 未经审核出售将罚款[/url]
101、[url=/school/youxiyule/youxiglmj/50139.html]lol11月28日周免英雄有哪些 英雄联盟11.28周免[/url]
美国双11怎么参与抢购 淘宝全球购黑色星期五海淘攻略
淘宝全球购黑色星期五活动网址:
关于黑色星期五这一叫法的起源,较普遍的一种认为看法是,由于这一天是感恩节(11月第四个星期四)后开业的第一天,同时人们通常由此开始圣诞节大采购,很多商店都会顾客盈门从而有大额进帐。而传统上用不同颜色的墨水来记账,红色表示亏损即赤字,黑色表示盈利。所以把这个星期五叫做黑色星期五,用以期待这一天过后,年度营收由负转正,由红字转为黑字。而商店的员工则使用黑色星期五这一名字来自嘲,表示这一天会忙得要死。
虽然黑色星期五这一天一般都会是一个大的采购狂潮,但基本还只能算是一年中销售额第二或第三高的一天,通常圣诞节前夜或之前的一个星期六才是最高潮。
在黑色星期五这天,绝大多数商店都会清晨五、六点钟就开门,有的甚至更早。商家更会采取提前在感恩节几天前的报纸上刊登广告,发放优惠券,对商品大幅降价等措施来吸引顾客。很多消费者把这一天看作准备圣诞礼物或买到便宜货的黄金时刻,由于降价商品数量有限,很多热门商店(如沃尔玛)门前在前一天晚上就会排起长队。而商店开门的一刻也偶尔会由于过于拥挤争抢而酿成踩踏事件。
由于各商家要到最后一刻才公布自己的降价商品清单,并把这看作商业秘密,而网络上往往在几个星期前就出现了从各个渠道搞到的降价信息,从而引发了一些法律纠纷。
网上抢票旅客注意啦!火车票放票时间调整
上网抢购火车票的旅客注意啦!自明日起,铁路部门将对互联网、电话订票的起售时间进行调整。放票时间点从16个调整为21个,调整后,8时至18时期间,整点和半点均有新票起售,C、D、G字头列车不再单独起售,起售时间与车站一致。
此次调整中,最大的不同是,G、D、C字头列车不再单独起售,高铁列车和普速列车,统统按照出发车站来区分,不同车站起售时间点不同。据铁路业内人士介绍,这是铁路部门公布下月延长火车票预售期到60天外的另外一个售票政策调整,目的是均衡12306网站的访问量,以免明年春运期间旅客过分集中在某一时间登录网站,造成网站故障。
记者从公告中发现,广州各火车站的车票起售时间都有变化,广州站的车票放票时间从12时改为11时,广州东站从13时30分改为11时30分,广州北站的放票时间从13时30分改为14时,广州南站的高铁票放票时间从14时改为13时。
深圳地区的火车票起售时间也有调整。调整后,深圳站的放票时间为9时30分,深圳北站放票时间为9时,深圳东站放票时间为10时,深圳西站放票时间为10时30分。另外,除了上述的广州、深圳地区的火车站外,还有省内客流较多的东莞、东莞东、惠州、汕头火车站放票时间为8时30分。其余的广深线、广珠城轨、京广线、京九线广东段、厦深铁路广东段、广茂铁路各站的起售时间都改为14时。广大旅客如有疑问可登录中国铁路客户服务中心网站()查询。jmeter 监控服务器的内存,cpu等内容 - yingchen - 博客园
1、需要下载一个jar包,放入到lib /ext文件中 &JMeterPlugins-Standard.jar
2、在服务器上安装 perfmon server agent&
这里监控内存我们使用的是:jp@gc&-&PerfMon&Metrics&Collectot
在使用之前,我们需要运行/serverAgent/startAgent.bat这个文件,我们需要将serverAgent目录及下面的文件复制到我们测试的服务器上,然后点击打开
3、 创建监控器时选择如图:
PerfMon Server Agent
Installation
You do not need any root/admin privilege. You can just unzip the the ServerAgent-X.X.X.zip somewhere on the server. Then launch the agent using&startAgent.sh&script on Unix, or&startAgent.bat&script on Windows.
The agent is written in Java, so you will need JRE 1.4+ to run it. Note you can create yourself the agent package which includes its own JRE so you don't have to install java on the server (We tested it on windows platform). To do this, just create a JRE folder in the agent folder and copy one installed JRE inside. Change the java command inside the .bat file to the path to the java executable and it will work.
Once the agent is running, you can use the&&Listener to connect to the agents. You can add multiple servers to monitor, one graph can display several kinds of metrics (cpu, memory, etc...), auto-zooming rows for best view.
To start the agent, simply run startAgent bat/sh file. It will open UDP/TCP server ports where JMeter will connect and query the metrics. Some information will be printed to standard output, informing you on problems gathering metrics (logging verbosity regulated with&--loglevel parameter).
You can specify the listening ports as arguments (0 disables listening), default is 4444:
$ ./startAgent.sh --udp-port 0 --tcp-port 3450
19:02:14.315 [kg.apc.p] (): Binding TCP to 3450
You can use the&--auto-shutdown&option when starting the agent to automatically stop it once the test is finished. It is recommended to use this feature only with TCP connections:
$ undera@undera-HP:/tmp/serverAgent$ ./startAgent.sh --udp-port 0 --auto-shutdown
19:48:59.321 [kg.apc.p] (): Agent will shutdown when all clients disconnected
19:48:59.424 [kg.apc.p] (): Binding TCP to 4444
You can use the&--sysinfo&option to view available system objects:
$ ./startAgent.sh --sysinfo
19:51:25.517 [kg.apc.p] (): *** Logging available processes ***
19:51:25.542 [kg.apc.p] (): Process: pid=24244 name=bash args=-bash
19:51:25.543 [kg.apc.p] (): Process: pid=25086 name=dash args=/bin/sh ./startAgent.sh --sysinfo
19:51:25.543 [kg.apc.p] (): Process: pid=25088 name=java args=java -jar ./CMDRunner.jar --tool PerfMonAgent --sysinfo
19:51:25.549 [kg.apc.p] (): *** Logging available filesystems ***
19:51:25.551 [kg.apc.p] (): Filesystem: fs=/dev type=devtmpfs
19:51:25.551 [kg.apc.p] (): Filesystem: fs=/ type=ext4
19:51:25.551 [kg.apc.p] (): Filesystem: fs=/var/run type=tmpfs
19:51:25.551 [kg.apc.p] (): Filesystem: fs=/home type=ext4
19:51:25.552 [kg.apc.p] (): Filesystem: fs=/var/lock type=tmpfs
19:51:25.552 [kg.apc.p] (): Filesystem: fs=/proc type=proc
19:51:25.553 [kg.apc.p] (): *** Logging available network interfaces ***
19:51:25.554 [kg.apc.p] (): Network interface: iface=lo addr=127.0.0.1 type=Local Loopback
19:51:25.554 [kg.apc.p] (): Network interface: iface=eth0 addr=192.168.0.1 type=Ethernet
19:51:25.555 [kg.apc.p] (): *** Done logging sysinfo ***
19:51:25.555 [kg.apc.p] (): Binding UDP to 4444
19:51:26.560 [kg.apc.p] (): Binding TCP to 4444
The&--interval &seconds&&argument can be used to change metrics collection frequency.
Using Server Agent With Other Applications
Server Agent uses simple plain-text protocol, anyone can use agent's capabilities implementing client, based on kg.apc.perfmon.client.Transport interface. If anyone's interested, start the topic on the support forums and I'll describe how to connect third-party client app to agent.
ServerAgent has simple text protocol and can work on UDP and TCP transports. Most of cases will use TCP.
To have your first talk with the agent, start it locally. Then use telnet utility to connect to it:
user@ubuntu:~$ telnet localhost 4444
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
If connection has succeeded, you should see "Accepting new TCP connection" message in ServerAgent console log. Type "test" and press Enter in telnet chat, server should answer with short "Yep":
Type "exit":
Connection closed by foreign host.
That's it. You sending a command line, server answering. Command line consists of command, sometimes with parameters. Parameters are separated from command with a colon sign.
Possible commands are:
exit - terminates current client session and closes connection to agent, no parameters
test - test if server is alive, no parameters
shutdown - terminate all client connections and shutdown agent process, no parameters
interval - change metrics reporting interval used in 'metrics' command, single parameter is integer value in seconds. Interval can be changed in the middle of metrics reporting. Example:&interval:5
metrics - starts automatic metrics collection, parameters are metrics list to collect, described below. Example:&metrics:cpu
metrics-single - calls single metric collection iteration. Example:&metrics-single:memory
Specifying Metrics
Metrics list consists of metric specifications, separated by TAB character. Metric collection output consists of float values, TAB separated. Example:
metrics-single:cpumemory
22.2205553
Each metric specification consists of several fields, colon-separated. Short example:
metrics-single:cpu:idle
memory:free
Fields number is metric-type specific. Possible metric types are:
Fields corresponding to each metric type are described at&&page. Last example (Yep, ServerAgent can be shell exec vulnerability. If you have issue with this, ask me and I'll introduce 'secure' mode, disabling insecure metric types):
metrics-single:exec:/bin/sh:-c:free | grep Mem | awk '{print $7}'

我要回帖

更多关于 cpu温度检测软件 的文章

 

随机推荐