linux 操作与基础安装

ps -ef |grep ‘xxxx’

ps -aux|grep ‘xxx’

ps -eo pid,lstart,etime,command name|grep ‘mj’

tar -czvf /tmp/etc.tar.gz /etc

tar -xzvf /tmp/etc.tar.gz

sed -n ‘/23:00:00/,/23:30:00/p’ anthill.pengpenghuyu.com-access.log | grep 140.243.138.33

yum install localhost iperf3-3.1.3-1.fc24.x86_64.rpm

yum localinstall grafana-5.2.4-1.x86_64.rpm

Linux查看已知的进程对应目录

pwdx pid

grep "20:" secure
iotop 查看io
安装g++
yum install gcc-c++ libstdc++-devel


source /etc/profile