CentOS7(linux) 通过服务名查询安装目录
2017-11-06 18:00
399 查看
#ps aux|grep nginx
root 1231 0.0 0.0 46336 956 ? Ss 04:21 0:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
nginx 1232 0.0 0.2 46808 2144 ? S 04:21 0:00 nginx: worker process
root 1247 0.0 0.0 112660 972 pts/0 R+ 04:56 0:00 grep --color=auto nginx
# ls -l /proc/1231/exe
lrwxrwxrwx. 1 root root 0 Nov 6 04:24 /proc/1231/exe -> /usr/sbin/nginx
root 1231 0.0 0.0 46336 956 ? Ss 04:21 0:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
nginx 1232 0.0 0.2 46808 2144 ? S 04:21 0:00 nginx: worker process
root 1247 0.0 0.0 112660 972 pts/0 R+ 04:56 0:00 grep --color=auto nginx
# ls -l /proc/1231/exe
lrwxrwxrwx. 1 root root 0 Nov 6 04:24 /proc/1231/exe -> /usr/sbin/nginx
相关文章推荐
- 查询Linux系统服务程序的安装目录
- CentOS7通过 yum安装路径查询方法
- linux下查询系统安装了哪些软件包及安装在哪个目录命令总结
- Red Hat Linux 企业版 服务安装目录
- linux查询tftp服务目录和nfs服务目录命令
- linux 命令系列之 查询已安装的服务 (64)
- 如何在Linux下通过ldapsearch查询活动目录的内容
- Linux-1.基础-环境安装/目录/基本命令/vi/基本服务配置
- 如何在Linux下通过ldapsearch查询活动目录的内容
- linux查看服务安装目录
- windows xp 安装xmanager连接linux redhat系统通过Telnet服务并安装oracle10g
- window主机访问Linux主机通过samba服务共享的目录 和Linux主机挂载window主机共享目录到本地
- 详细介绍通过ISO文件进行LINUX硬盘安装
- 安装配置管理 之 linux下通过ndiswrapper及linux-wlan-ng安装无线网卡
- Windows 2003安装和配置活动目录服务 zz
- 通过LINUX安装盘修复grub双重引导菜单
- 系统恢复后,通过sqlserver服务管理器启动出现“指定的服务未安装”的解决方法
- 修改linux的dns | 统计Linux目录的大小 | 安装subversion
- Linux学习笔记:REHL AS4的上网配置,Http服务安装及配置,ftp服务的安装及配置