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

970272-20170515202028432-561555146.png

功能

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

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/258748.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/258748.shtml
英文地址,請注明出處:http://en.pswp.cn/news/258748.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

字符串轉換整形數,結構體數組排序

#include <stdio.h> #include<string.h> #include<conio.h> #include <stdlib.h> FILE *p; #define N 3 struct hacker {char name[11];char num[20];char xingbie[3]; }z[N];//輸入模塊 void shuru() {char *s"網名 QQ號碼 性別信息…

如何發布打包并發布自己的Android應用(APP)

第一步&#xff0c;在Eclipse中選擇需要打包的項目&#xff0c;然后右鍵--選擇Export&#xff0c;會彈出一個打包的提示框&#xff0c;如下圖所示。 按Next之后&#xff0c;會繼續出現一個提示框&#xff0c;這里你可以選擇自己需要打包的項目&#xff08;默認是剛才選中的&…

js變量提升_一道JS變量提升題

var a 0;if(true){a 1;function a(){};a 21;console.log(a);}console.log(a);// 21 1 當前上下文代碼執行之前&#xff0c;會將帶var/function的進行聲明/定義。當遇到“{}”時&#xff0c;新版瀏覽器和老版瀏覽器的處理不一致。老版瀏覽器&#xff08;IE10以下&#xff09;…

Adaboost的幾個人臉檢測網站

【1】基礎學習筆記之opencv(1)&#xff1a;opencv中facedetect例子淺析 http://www.cnblogs.com/tornadomeet/archive/2012/03/22/2411318.html【2】OpenCV學習筆記&#xff08;二十七&#xff09;——基于級聯分類器的目標檢測objdect http://blog.csdn.net/yang_xian521/arti…

Caffe訓練過程:test_iter test_interval等概念

轉載自http://blog.csdn.net/iamzhangzhuping/article/details/49993899 先上一張圖&#xff0c;大家很熟悉的一張圖。 首先說明一個概念&#xff1a;在caffe中的一次迭代iteration指的是一個batch&#xff0c;而不是一張圖片。 下面主要說下2個概念&#xff1a; test_ite…

R的獲取和安裝

R的獲取和安裝 一、下載 R可以在CRAN&#xff08;Comprehensive r archive network&#xff09;http://cran.r-project.org上免費下載&#xff0c;可供選擇的有Linux、Mac OS X和windows對應的二進制文件&#xff1b; 我這里選擇的是windows版本。打開如下頁面&#xff1a; bas…

Bitmap recycle()

Bitmap調用recycle? When?Bitmap有一個recycle方法。含義很easy&#xff0c;恢復Bitmap空間。 Q 1: Bitmap有調用recycle方法的必要性&#xff1f; A: 嵌入式系統總是格外注重空間的問題&#xff0c;不小心的話就會有OOM。可是應用層使用java的android平臺有其天然的優勢【ja…

擴展歐幾里得算法求逆元_從輾轉相除法到求逆元,數論算法初體驗

今天是算法和數據結構專題的第22篇文章&#xff0c;我們一起來聊聊輾轉相除法。輾轉相除法又名歐幾里得算法&#xff0c;是求最大公約數的一種算法&#xff0c;英文縮寫是gcd。所以如果你在大牛的代碼或者是書上看到gcd&#xff0c;要注意&#xff0c;這不是某某黨&#xff0c;…

[翻譯] Fast Image Cache

https://github.com/path/FastImageCache Fast Image Cache is an efficient, persistent, and—above all—fast way to store and retrieve images in your iOS application. Part of any good iOS applications user experience is fast, smooth scrolling, and Fast Image …

centos 安裝 MatConvNet (gpu)

1. 安裝準備 matlab2017a &#xff0c;參考&#xff1a;《centos 安裝matlab2017a(無root權限)》 GCC 4.8(支持c11) 鍵入&#xff1a;sudo yum install gcc gcc-c &#xff08;建議sudo裝&#xff09; 至少CUDA 7.5&#xff0c;&#xff08;本人選擇cuda8.0&#xff…

php練習 租房子

題目要求 1.封裝類 <?php class DBDA {public $fuwuqi"localhost"; //服務器地址public $yonghuming"root";//用戶名public $mima"";//密碼 public $dbconnect;//連接對象//操作數據庫的方法//$sql代表需要執行的SQL語句//$type代表SQL語…

【SHARE】WEB前端學習資料

參考資料&#xff1a;https://github.com/karlhorky/learn-to-program學習網站&#xff1a;http://www.codecademy.com/learn https://www.codeschool.com/ 制作網站&#xff1a;https://webmaker.org/zh-CN/explore JavaScript2015&#xff1a;https://esdiscuss.org/topic/ja…

python軟件安裝和使用方法_aws cli的安裝及使用(內含python的安裝方法)

liunx環境(使用bundled installer)&#xff1a;1.wget https://s3.amazonaws.com/aws-cli/awscli-bundle.zip //下載bundled installer2.unzip awscli-bundle.zip3.sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws如果你沒有sudo權限或者是你想在當…

centos 安裝boost(caffe需要)

安裝 由于安裝caffe&#xff0c;要求boost的版本在1.55以上&#xff0c;而服務器上的剛好是1.54,所以進行了重裝。 參考&#xff1a;《CentOS 7下編譯安裝Boost_1_57_0 》 不過由于pycaffe需要boost.python,因此需要在./b2時修改為./b2 –stage debug 才可以。而不能去掉py…

JAVA正則表達式介紹和使用

本文引用自 http://www.cnblogs.com/android-html5/archive/2012/06/02/2533924.html 技術博客 1.Java中在某個字符串中查詢某個字符或者某個子字串 Java代碼 String s "Shang Hai Hong Qiao Fei Ji Chang";    String regEx "a|F"; //表示a或F Pat…

集合框架中的接口及其實現類

Collection&#xff1a;集合層次中的根接口&#xff0c;JDK沒有提供這個接口直接地實現類。Set&#xff1a;不能包含重復的元素。SortedSet是一個按照升序排列元素的Set。List&#xff1a;是一個有序的集合&#xff0c;可以包含重復的元素。提供了按索引訪問的方式。Map&#x…

C# 多線程 Parallel.For 和 For 誰的效率高?那么 Parallel.ForEach 和 ForEach 呢?

還是那句話&#xff1a;十年河東&#xff0c;十年河西&#xff0c;莫欺少年窮。 今天和大家探討一個問題&#xff1a;Parallel.For 和 For 誰的效率高呢&#xff1f; 從CPU使用方面而言&#xff0c;Parallel.For 屬于多線程范疇&#xff0c;可以開辟多個線程使用CPU內核&#x…

cuda、cudnn相關問題鏈接

1. cuda&#xff0c;cudnn安裝 <caffe安裝系列——安裝cuda和cudnn> 2. 查看已有的cuda等版本 cuda 版本 cat /usr/local/cuda/version.txtcudnn 版本 cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 23. cudnn的安裝&#xff0c;路徑和版本問題 http://…

bigdecimal 小于等于0_圖解小于 K 的兩數之和

點擊藍色“五分鐘學算法”關注我喲加個“星標”&#xff0c;天天中午 12:15&#xff0c;一起學算法作者 | P.yh來源 | 五分鐘學算法題目描述 題目來源于 LeetCode 上第 1099 號問題&#xff1a;小于 K 的兩數之和。給你一個整數數組 A 和一個整數 K&#xff0c;請在該數組中找出…

用STS創建Maven的Web項目轉

右鍵New——>other——》Maven——》Maven Project 彈出框中點擊Next&#xff0c;在Filter中寫上&#xff1a;webapp. 然后在下面的框中選擇org.apache.maven.archetypes&#xff0c;點擊Next 在新彈出的窗口中寫上Group Id和Artifact Id&#xff0c;Finish即可成功。 創建完…