system admin tools
			Contents
		
			 useful commands  Create a configuration file and add your license key \  Create the agent’s yum repository \  Update your yum cache \  Run the installation script \
		
		 
		
		system admin tool
iostat介绍
全能系统监控工具dstat 
most use: 
| 1 | [root@toad pxe]# dstat -cmsdnl -D sda3 -N lo,eth0 100 5 | 
网络监控工具
本地服务器的网卡吞吐量:
| 1 | iptraf -d eth0 | 
| 1 | # both | 
Netperf缺省情况下进行TCP批量传输,即-t TCP_STREAM。测试过程中,netperf向netserver发送批量的TCP数据分组,以确定数据传输过程中的吞吐量:
 从netperf的结果输出中,我们可以知道以下的一些信息:
1)    远端系统(即server)使用大小为87380字节的socket接收缓冲
2)    本地系统(即client)使用大小为16384字节的socket发送缓冲
3)    向远端系统发送的测试分组大小为16384字节
4)    测试经历的时间为60秒
5)    吞吐量的测试结果为94.13Mbits/秒
Reference netperf 与网络性能测量
useful commands
Create a configuration file and add your license key \
echo “license_key: a61ac49b8930c041d9d940b8227f5d716819NRAL” | sudo tee -a /etc/newrelic-infra.yml && \
\
Create the agent’s yum repository \
sudo curl -o /etc/yum.repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/yum/el/7/x86_64/newrelic-infra.repo && \
\
Update your yum cache \
sudo yum -q makecache -y –disablerepo=’*’ –enablerepo=’newrelic-infra’ && \
\
Run the installation script \
sudo yum install newrelic-infra -y
Written with StackEdit.

