Netdata是一个高度优化的Linux守护进程,它为Linux系统,应用程序,SNMP服务等提供实时的性能监测。
Github: https://github.com/firehol/netdata/wiki/Installation (安装教程)
开源中国:http://www.oschina.net/p/netdata/similar_projects (Netdata简介)
源码下载
https://github.com/netdata/netdata
然后可以用CLion打开
Netdata安装以及汉化
- 安装需要的环境
[root@localhost ~]# yum install zlib-devel gcc make autoconf autogen automake pkgconfig libuuid-devel
- 下载安装netdata
https://github.com/netdata/netdata/releases 找到最新的版本
右键复制连接地址
打开你需要安装的目录 ,拼装下载地址
[root@localhost src]# wget http://firehol.org/download/netdata/releases/v1.0.0/netdata-1.0.0.tar.gz
[root@localhost src]# tar -xf netdata-1.0.0.tar.gz
[root@localhost src]# cd netdata-1.0.0
[root@localhost netdata-1.0.0]# ./netdata-installer.sh
OK. NetData Started!
Downloading default configuration from netdata...
New configuration saved for you to edit at /etc/netdata/netdata.conf
-------------------------------------------------------------------------------
ok. NetData is installed and is running.
Hit http://localhost:19999/ from your browser.
To stop netdata, just kill it, with:
killall netdata
To start it, just run it:
/usr/sbin/netdata
Enjoy!
INFORMATION:
I see you have kernel memory de-duper (called Kernel Same-page Merging,
or KSM) available, but it is not currently enabled.
To enable it run:
echo 1 >/sys/kernel/mm/ksm/run
echo 1000 >/sys/kernel/mm/ksm/sleep_millisecs
If you enable it, you will save 20-60% of netdata memory.
至此Netdata就安装完了,Netdata安装完后,本身就启动了。
直接用浏览器访问:http://127.0.0.1:19999 即可进入主界面。(19999是软件默认的端口,在配置文件中配置)