江户川丶柯南

导航

Linux 常用命令

1. 查看80端口连接数
 netstat -ant | grep -i 80 | wc -l

2.实时观察80端口连接数
 watch -n 1 -d "pgrep httpd|wc -l"

3.查看 httpd 进程数量
 ps -ef|grep httpd|wc -l

4.查看linux版本
cat /etc/redhat-release

5.安装本地rpm包
yum localinstall percona-xtrabackup-2.2.9-5067.el6.x86_64.rpm

 

posted on 2016-08-11 14:13  hfshu  阅读(187)  评论(0编辑  收藏  举报