1)ps 查看进程
ps -elf | grep -c mingetty
2 ) netstat 查看端口
netstat -lnp (打印当前系统启动哪些端口)
netstat -an (打印网络连接状况)
netstat -an | grep 80 (查看80端口的服务的 ip)
本文共 188 字,大约阅读时间需要 1 分钟。
1)ps 查看进程
ps -elf | grep -c mingetty
2 ) netstat 查看端口
netstat -lnp (打印当前系统启动哪些端口)
netstat -an (打印网络连接状况)
netstat -an | grep 80 (查看80端口的服务的 ip)
转载于:https://blog.51cto.com/liuyangjun/1733736