Linux pidof命令使用总结

上传:student98556 浏览: 12 推荐: 0 文件:PDF 大小:34.99KB 上传时间:2021-01-16 16:21:23 版权申诉
一、什么是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
上传资源
用户评论