Linux pidof命令使用总结

student98556 12 0 PDF 2021-01-16 16:01:22

一、什么是pidof命令? 代码如下:#man pidof中的解释:pidof — find the process ID of a running program.pidof–用于查找一个运行的程序的PID。pidof is actually the same program as killall5;[root@GoGo ~]# ls -l /sbin/pidoflrwxrwxrwx. 1 root root 8 Aug 25 00:40 /sbin/pidof -> killall5 //的确如此。二、pidof命令的参数-s 表示只返回1个 pid-x 表示同时返回运行给定程序的 she

用户评论
请输入评论内容
评分:
暂无评论