查找端口与查找正在运行的进程

查找名称为mysql的进程

ps -ef | grep mysql
 
 
查询端口名:
netstat -anp | grep 3306
 

原文地址:https://www.cnblogs.com/lzh1043060917/p/15597941.html