热门
我们以重启redis为例,首先要找到服务的进程号
ps -ef | grep redis
此时我们知道redis的进程ID,然后根据进程ID反查启动脚本的位置,如下图所示,
ls -l /proc/44446
ls -l /proc/pid ls -l /proc/44446