1.服務啓動redis
service iptables start緩存
2.查看正在運行的服務器進程服務器
ps -ef網絡
#顯示所有進程memcached
ps -Aui
3.殺掉進程操作系統
kill -s PID進程
killallip
kill -9 PIDtable
4.查看網絡狀態
netstat
5.查看網卡信息
ifconfig
6.LINUX防火牆
iptables
7 cpu命令
top
8 查看進程是否已經啓動,例如memcached
ps aus | grep memcached
9 查看系統內核
uname -a
10 查看操做系統,舉例redis
cat /etc/redhat-release
11 查看當前打開的服務
chkconfig –list
12 查看當前打開的端口
netstat –an
13 查看磁盤信息
15 : 查看服務器緩存與硬盤的讀寫速度,sudo是賦予超級管理員的權限
sudo /sbin/hdparm -tT /dev/sda
16:sar 查看CPU使用率與I/O等待率
sar -P ALL| head 多核CPU使用率