摘要: 查看mysql被那些ip地址连接 mysql> select SUBSTRING_INDEX(host,':',1) as ip , count(*) from information_schema.processlist group by ip; + + + | ip | count(*) | + 阅读全文
posted @ 2022-01-16 19:59 西北逍遥 阅读(1146) 评论(0) 推荐(0) 编辑
摘要: ubuntu查看某个端口是否被占用 例如: 没有启动jar包,查看8080端口,没有被占用 [ubuntu@ZY ~]# [ubuntu@ZY ~]# netstat -tunlp |grep 8080 [ubuntu@ZY ~]# 启动jar包后: [ubuntu@ZY ~]# [ubuntu@Z 阅读全文
posted @ 2022-01-16 18:01 西北逍遥 阅读(1591) 评论(0) 推荐(0) 编辑