make19830723 发表于 2013-2-4 13:40:03

Linux 常用的命令

本来我不是搞linux,但是在工作中用到linux,所以把经常用到的一些命令记录下来,作为以后参考


netstate -tln 查看服务端口号


ps -aux | more查看全部程序进程号


ps -ef | grep mysql 查看 mysql进程号


iptables -l 查看防火强


iptables -f关闭防火墙



lsaf -p PID | wc -l 查看某个进程打开的文件数量,本人前期经常出现too many file open
yum clean all

清除yum的记录
页: [1]
查看完整版本: Linux 常用的命令