摘要:
1. lsof命令 功能:列出打开的文件常用选项:-i [i] 监听的网络地址,如果没有指定,默认列出所有。[i]来自[46][protocol][@hostname|hostaddr][:service|port]-U 列出Unix域socket文件-p 指定PID-u 指定用户名或UID所有打开 阅读全文
摘要:
1、查看网卡配置情况ifconfig Ifconfig |more 查看所有网卡的配置情况 ifconfig enp6s0 192.168.5.160 netmask 255.255.255.0 临时修改enp6s0的ip和掩码 watch ifconfig enp6s0 查看网卡enp6s0的网络 阅读全文
摘要:
1、程序服务运行/停止/状态查看 service 程序服务名 start/stop/status 开启/关闭/查看程序服务 service --status-all 查看所有启动的服务 2、查看程序进程ps ps –ef|grep 程序名 ps aux |grep 程序名 3、查看端口占用 1、ls 阅读全文