Performance Co-Pilot
Install
Performance Co-Pilot 提前安装依赖
[root@iZrj97j6t7ih9hgz1me35hZ ~]# cat install.sh
yum install -y docker
yum install -y git
yum install -y yum-utils-1.1.31-40.el7.noarch
yum install lex
yum install flex
yum install -y bison
yum install -y perl-ExtUtils-MakeMaker.noarch
yum install -y libmicrohttpd
yum install -y libmicrohttpd*
yum install -y gcc-c++
yum install -y pcp-libs-3.11.3-4.el7.x86_64
yum install -y pcp-3.11.3-4.el7.x86_64
Installing Performance Co-Pilot 安装PCP
git clone git://git.pcp.io/pcpcd pcp
groupadd -r pcp
useradd -c "Performance Co-Pilot" -g pcp -d /var/lib/pcp -M -r -s /usr/sbin/nologin pcp./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-webapi#./configure --prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc --localstatedir=/var --with-rcdir=/etc/init.dmake
make install/etc/init.d/pmcd start
Building Vector from Source 源码安装Vector
安装vector
$ git clone https://github.com/Netflix/vector.git
$ cd vector
安装:Node.JS, npm and Bower
# yum install -y npm
# npm install
# npm install -g bower
# bower install --allow-root
# npm install --global gulp-cli
# gulp build# Development ServerYou can run Vector with Gulp’s development web server and live reload. In order to start Gulp’s web server, just execute the serve task:
# gulp serve
功能
PCP Collection Daemon (PMCD)
# /etc/init.d/pmcd start
pmie (Performance Metrics Inference Engine)
[root@iZrj97j6t7ih9hgz1me35hZ ~]# chkconfig pmie on
REF
web:
http://vectoross.io/docs/installing-performance-co-pilot.html
git Install :
https://github.com/muahao/pcp/blob/master/INSTALL.md
PCP quick start: http://pcp.io/docs/guide.html
快速部署PCP
#!/bin/bash
#Installing Collector Hosts
yum install pcp -y
chkconfig pmcd on
service pmcd start
chkconfig pmlogger on
service pmlogger start#Installing Monitor Host
yum install pcp-doc pcp-gui -y
echo localhost n n PCP_LOG_DIR/pmlogger/localhost -r -T24h10m -c localhost >> /etc/pcp/pmlogger/control
service pmlogger restart#Dynamic Host Discovery
yum install pcp-manager -y
chkconfig pmmgr onecho localhost >> /etc/pcp/pmmgr/target-host
echo avahi >> /etc/pcp/pmmgr/target-discovery
echo probe= ip.addr.tup.le/netmask >> /etc/pcp/pmmgr/target-discovery
service pmmgr restart
find /var/log/pcp/pmmgr#Installation Health Check
pcp -h localhost#Monitoring Live Performance Metrics
pminfo -h localhost#Retrospective Performance Analysis#Visualizing iostat and sar Data
#iostat -t -x 2 > iostat.out
#iostat2pcp iostat.out iostat.pcp
#pmchart -t 2sec -a iostat.pcp#Process Level Performance Monitoring
pminfo proc#Performance Metrics Inference
chkconfig pmie on
service pmie start
#Enable monitoring of metrics from remote host acme.com :
echo acme.com n PCP_LOG_DIR/pmie/acme.com -c config.acme.com
service pmie restart#PCP Web Services
yum install pcp-webapi -y
chkconfig pmwebd on
service pmwebd start#User Web Interface for Performance Metrics
yum install -y pcp-webjs
转载于:https://www.cnblogs.com/muahao/p/6858060.html
Performance Co-Pilot相关推荐
- CRP(Confrence Room Pilot)
CRP (Confrence Room Pilot) 会议室模拟.模拟运行及用户化.在基本掌握软件功能的基础上,选择代表产品,将各种必要的数据录入系统,带着企业日常工作中经常遇到的问题,组织项目小组进 ...
- Performance of Cell-Free Massive MIMO with Rician Fading and Phase Shifts (2)
Performance of Cell-Free Massive MIMO with Rician Fading and Phase Shifts (2) 系统模型 a cell-free Massi ...
- Improve Performance and Reduce Memory with PVRTC Textures and Cocos2d
转载自:http://www.uchidacoonga.com/2011/07/pvrtc-textures-and-cocos2d/ Hello everyone! A few months hav ...
- 笔试算法题(58):二分查找树性能分析(Binary Search Tree Performance Analysis)
议题:二分查找树性能分析(Binary Search Tree Performance Analysis) 分析: 二叉搜索树(Binary Search Tree,BST)是一颗典型的二叉树,同时任 ...
- mysql5.7 sql监控_MySQL5.7中 performance和sys schema中的监控参数解释
MySQL5.7中的mysql performance和sys 监控参数 1.performance schema:介绍 在MySQL5.7中,performance schema有很大改进,包括引 ...
- 二值网络--Bi-Real Net: Enhancing the Performance of 1-bit CNNs
Bi-Real Net: Enhancing the Performance of 1-bit CNNs With Improved Representational Capability and A ...
- CNN网络加速--Performance Guaranteed Network Acceleration via High-Order Residual Quantization
Performance Guaranteed Network Acceleration via High-Order Residual Quantization ICCV2017 本文是对 XNOR- ...
- jquery控制只监听数字_无源!模拟!颜值高!简单实用!TC Level Pilot监听音量控制器...
Level Pilot是一款立体声无源模拟音量控制器,独立于电脑.声卡之外工作,用于有源监听音箱的音量控制,设计简洁,操作手感流畅.很多监听都不带音量旋钮,只能通过声卡或电脑进行音量控制,在手边放一个 ...
- 任务简介(Query Performance Prediction)
查询性能预测(Query Performance Prediction,简称QPP). 用户向搜索系统提交一个查询,搜索系统就返回结果.现在搜索系统希望多一个功能,即告诉用户,这次返回的结果是差还是好 ...
- Windows Performance Toolkit
http://bigasp.com/archives/606 https://randomascii.wordpress.com/category/xperf/ ADK 8.0 (C:\Progra ...
最新文章
- linux把目录下的文件设置属性为rx,LINUX的文件属性与目录配置
- 简单说说Linux中valgrind进行内存检测
- mysql索引碎片产生原因_解析mysql 表中的碎片产生原因以及清理
- js 获取日期并格式化
- 记一次CPU飙升的问题分析解决思路(转)
- 全国一等奖,他的学习之路。
- Opencv3编程入门学习笔记(四)之split通道分离Debug过程中0xC0000005内存访问冲突问题
- [转载] Linux里面的文件目录类指令
- 《Effective C#》Item 7:推荐使用不可改变的原子值类型
- 2021牛客暑期多校训练营3,签到题BEFJ
- 「07」回归的诱惑:深入浅出逻辑回归
- 234.回文链表(力扣leetcode) 博主可答疑该问题
- Linux:下载和安装
- 网站服务器ip解析,服务器 域名 解析ip
- Vue项目 在chrome页面崩溃:喔唷 崩溃了(总结)
- Scala折叠(fold)
- 田忌赛马java代码算法,AcWing 1489. 田忌赛马——Java版代码
- router-vue中meta参数
- 【Python数据分析学习实例】计算某个函数的一阶导数、二阶导数,并绘出图像
- 第十二天学习内容 综合应用 推箱子和对战游戏
热门文章
- java 闭包_公司新来的女实习生问我什么是闭包?
- hadoop学习3 查找块的位置
- 发送JSON数据给服务器
- 用两个栈来实现一个队列,完成队列的Push和Pop操作。 队列中的元素为int类型...
- Cocoapods pod update执行失败报错CocoaPods was not able to update the `master` repo.2019的解决...
- Centos6.5静态IP设置
- [UE4]C++中extern关键字浅谈
- [操作系统实验lab4]实验报告
- 安装Pywin32后无法正常引用pyd文件
- AIX主机信任关系配置