Linux查看系统中的服务、端口等信息

1.查看系统中有哪些自启动模式的服务:chkconfig --list

其中的0~6表示为运行级别:

2.查看系统中运行了哪些服务:ps aux

3.查看系统中启动了哪些服务:netstat -tlunp   

   查看已经连接的服务:netstat -an

猜你喜欢

转载自www.cnblogs.com/Serenade/p/12955986.html