当我们执行netstat命令显示 

-bash: netstat: command not found 

这是由于网络工具没有安装.执行下面命令就可以了. 

yum install net-tools