常用小命令手札

查看某个端口是否启动了及所用的命令

[redies@localhost redis-2.4]$ netstat -tunpl | grep 6379
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:6379                0.0.0.0:*                   LISTEN      11706/redis-server 
[redies@localhost redis-2.4]$

猜你喜欢

转载自xuelianbobo.iteye.com/blog/2087694