1. 查看某个端口是被哪个进程使用 lsof -i:XX ----XX是要查询的端口号 2. windows 与 linux共享文件夹使用的服务 service smb start | stop | restart | status