[英]how to use procps-3.2.8 in listing all the running processes?
Does anyone know how to use procps-3.2.8 in listing all the running processes of ubuntu/linux? 有谁知道如何使用procps-3.2.8列出ubuntu / linux的所有正在运行的进程? And how to kill them using procps-3.2.8?
以及如何使用procps-3.2.8杀死它们?
please provide the step-by-step procedure and provide useful links about procps . 请提供分步过程,并提供有关procps的有用链接。
procps is the package which contains the many command line utility provided. procps是包含提供的许多命令行实用程序的软件包。 You can find the complete information about each utility option under the procpcs from the below location:
您可以从以下位置的procpcs下找到有关每个实用程序选项的完整信息:
On the homepage we can get the following information about procps : 在主页上,我们可以获得有关procps的以下信息:
procps is the package that has a bunch of small useful utilities that give information about processes using the /proc filesystem.
procps是具有许多小实用工具的软件包,这些实用工具可提供有关使用/ proc文件系统的进程的信息。 The package includes the programs ps, top, vmstat, w, kill, free, slabtop, and skill.
该软件包包括程序ps,top,vmstat,w,kill,free,slabtop和skill。 *
*
http://www.linuxfromscratch.org/lfs/view/7.2/chapter06/procps.html http://www.linuxfromscratch.org/lfs/view/7.2/chapter06/procps.html
http://procps.sourceforge.net/ http://procps.sourceforge.net/
How to use procps-3.2.8 in listing all the running processes?
如何在列出所有正在运行的进程时使用procps-3.2.8?
ps is the part of procps package and there are numerous ways to list the all running process(For detailed information do man ps ). ps是procps软件包的一部分,有很多方法可以列出所有正在运行的进程(有关详细信息,请参阅man ps )。
mantosh@mantosh4u:~/practice$ ps -V
procps version 3.2.8
mantosh@mantosh4u:~/practice$ ps -AF
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
root 1 0 0 6143 2544 3 14:38 ? 00:00:00 /sbin/init
root 2 0 0 0 0 1 14:38 ? 00:00:00 [kthreadd]
.............................................................................
root 3320 2 0 0 0 0 15:13 ? 00:00:00 [kworker/u:2]
root 3334 2 0 0 0 1 15:18 ? 00:00:00 [kworker/1:0]
How to kill them using procps-3.2.8?
如何使用procps-3.2.8杀死它们?
pkill is part of procps package which contains numerous command line option to kill a process. pkill是procps软件包的一部分, 该软件包包含许多用于杀死进程的命令行选项。 For detailed information man pkill on your terminal.
有关详细信息,请在您的终端上使用pkill 。
mantosh@mantosh4u:~/practice$ pkill -V
pkill (procps version 3.2.8)
mantosh@mantosh4u:~/practice$ pkill -f gedit
In the above example, the gedit was the process name which has been killed. 在上面的示例中, gedit是已被终止的进程名称。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.