linxu 解压war包
unzip -oq jenkins2.164.war -d jenkins
查询所有的软连接
find ./ -lname v1.txt
查询全部服务
systemctl list-unit-files
服务文件放置的位置
/lib/systemd/system/
查看 开机启动状态
systemctl status rc-local.service
nohup
nohup ./program >/dev/null 2>&1 &;
netstat命令
http://man.linuxde.net/netstat
curl
curl -H "Accept:application/json" -H "Content-type:application/json" -X POST --data '{"uuid":"7f74656ef47b421e9e3099de99bb8ace","taskNodeId":"7904948","flowConfId":"243","flowType":1,"data":{"action":0,"flowType":1,"ingoreSize":0}}' http://172.30.9.162:10181/icapi/system/pushresult
缓存清理
echo 3 > /proc/sys/vm/drop_caches
程序最大线程
cat /proc/8106/status
ps hH p 8106|wc -l
centos7系统最大线程
ulimit -a
磁盘读写查询
iostat -x 1 10
查询性能消耗前几进程
ps aux|head -1; ps aux | sort -k4nr | head -5