Listing 19 shows the final ps example where all processes are listed using jobs format, and the output is sorted by session id and command name.
清单19显示了最终的ps例子,其中使用作业的格式列出了所有进程,并且根据会话id和命令名对输出进程排序。
'ps -aux' to collect process information, such as process ID, percent CPU, and virtual memory footprint.
'ps- aux '用于收集进程信息,例如进程ID、CPU百分比以及虚拟内存足迹。
For all active processes, you get a process id, and that means you can identify the original user within the ps list by their id.
对于所有的活动进程,您都将获取一个进程ID,这意味着您可以在ps列表中通过ID来识别原始用户。
The key elements to the command are the strings provided to grep (GCC in this case) and the column from the output of ps that holds the process id that you need.
该命令的关键部分是提供给grep(在此示例中为gcc)的字符串和ps输出中包含所需进程ID的列。
After the daemon has had a chance to start, find the process ID by running ps -ef and looking for the HTTPD daemon.
在守护进程启动之后,通过运行ps -ef找到相应的进程ID,并查找httpd守护进程。
Notice that the parent process id (PPID) in the first output of ps is 8619, which is the process id (PID) of the script.
注意:ps的第一个输出中的父进程id (PPID)为8619,这是脚本的进程id (PID)。
You can use the ps command to find the process ID of the JVM running CruiseControl, then kill the process using the kill command.
可以用ps命令找到运行CruiseControl的JVM的进程ID,然后用kill 命令杀死进程。
The ps commands discussed so far only list processes that were started from your terminal session (note the SID, or session id, column in the second example of Listing 14).
到目前为止所讨论的ps命令仅列出从终端会话启动的进程(注意清单14中的第二个例子的sid列,即会话id列)。
The ps commands discussed so far only list processes that were started from your terminal session (note the SID, or session id, column in the second example of Listing 14).
到目前为止所讨论的ps命令仅列出从终端会话启动的进程(注意清单14中的第二个例子的sid列,即会话id列)。
应用推荐