centos 7用ss命令来查看端口占用和对应进程
2015-12-10 11:22
169 查看
mysqld进程在监听4567端口,进程id是2593:
# ss -lnp|grep 4567
tcp LISTEN 0 128 *:4567 *:* users:(("mysqld",2593,11))
2593的父进程是2592:
# ps -ef|grep 2593
mysql 2593 2592 0 04:46 ? 00:00:57 /usr/libexec/mysqld --wsrep-cluster-address=gcomm://
# ss -lnp|grep 4567
tcp LISTEN 0 128 *:4567 *:* users:(("mysqld",2593,11))
2593的父进程是2592:
# ps -ef|grep 2593
mysql 2593 2592 0 04:46 ? 00:00:57 /usr/libexec/mysqld --wsrep-cluster-address=gcomm://
相关文章推荐
- 零基础学习教程之Linux下搭建android开发环境
- linux posix 通过pthread_join获取线程pthread_exit返回的数据
- centos
- [linux学习笔记]文件权限与目录配置w
- CentOS6.4下Samba服务器的安装与配置
- centos7下zabbix搭建
- Linux系统下Java应用程序打包成.jar文件
- SELinux安全系统基础
- linux ab 下的 压力测试
- linux下devicetree中惯用的of函数
- linux ubuntu解压tar.gz安装mysql
- Linux上Python的安装升级
- linux内存占用问题
- Linux 技巧:让进程在后台可靠运行的几种方法(转载)
- Linux 中 RPM包 安装 查询 卸载命令的总结
- CentOS开启coredump转储并生成core文件的配置
- linux 命令之 chage
- 让CentOS默认生成core dump 当前用户
- Linux服务器多端口配置
- linux常用基本命令