不进shell

1.由进程名得到进程id:  pgrep -f xx , 其中xx是进程名

2.由进程id得到进程名: readlink /proc/xxx/exe,其中xxx是进程的id

参与评论