Listing 15. Example output from ps command.
清单15.ps命令的输出例子。
To do so, execute ps –ef | grep oninit command.
为此,执行ps –ef |greponinit命令。
Run the ps command and assign the results to a list (lines 7-8).
运行ps命令,并将结果分配给一个列表(第 7行到第 8 行)。
The ps command reports mallocd memory and does not include mmapd memory.
ps命令报告malloc 分配的内存,但是不包含mmap 分配的内存。
On UNIX systems, you can view one or more processes using the ps command.
在UNIX系统中,您可以使用ps命令,查看一个或多个进程。
We'll use this output as arguments to the ps command as shown in Listing 12.
我们将使用该输出作为ps命令的参数,如清单12所示。
Next, to verify that the nweb server is running, use the ps command to check it
接下来,为验证nweb服务器正在运行,可使用ps命令来对它进行检查。
You need to bind the process to CPU1 and check the status using the ps command.
您需要将这个进程绑定到CPU1,可以使用ps命令查看其状态。
On a machine where ps is not a valid command, this should return an empty array.
在ps不是有效命令的机器上,这应该返回空数组。
A good example is the ps command, which differs on SVR4 and BSD-based UNIX hosts.
一个很好的例子就是ps命令,它在基于SVR4和基于BSD的UNIX主机上是不同的。
The information provided is like a combination of the uptime, swap space, and ps tools.
它所提供的相关信息更像是uptime、交换空间和ps 工具的组合。
Use the ps command to make sure the Web server daemons are running on the primary node.
使用ps命令来确保Web服务器后台进程正在主节点上运行。
According to the PPID fields in this list, the ps command is a child of the bash shell.
从该列表的PPID字段中,我们知道ps命令是bashshell的子进程。
Issue the ps command to list the DB2 processes that are running, as shown in Listing 28.
输入ps命令来列出正在运行的DB 2进程,如清单28所示。
Verification included using the ps command, checking top data, and checking LTP log data.
确认的手段包括使用ps命令、检查top数据和检查LTP日志数据。
If you issue the command su - root on Linux, the output of ps command will look like this.
如果您在Linux上执行命令su-root,那么ps命令的输出就会如下所示。
In addition to the top command, you can also display niceness values using the ps command.
除了top命令之外,您还可以使用ps命令显示niceness值。
A page replacement daemon is referred to as lrud (shows up as lrud in the output of ps -k).
其中一个分页替换守护进程称为lrud(显示为ps-k的输出中的 lrud)。
How many times have you hunted for a process with ps aux | grep... Countless times, probably.
您可能无数次使用psaux |grep…寻找进程。
Ssh-agent has now become a background process which is visible using the top and ps commands.
现在,ssh -agent已经成为后台进程,可以使用命令top和ps查看。
The cleanup routine shows how to use the ps command to find the children of your script process.
cleanup例程将展示如何使用ps命令查找脚本进程的子进程。
You can use the ps command that you looked at earlier to try to identify the offending processes.
您可以使用前面介绍过的ps命令来尝试确定影响系统的进程。
The ps command accepts zero or more PIDs as arguments and displays the associated process status.
ps命令接受0 个或多个PID作为参数并显示相关联的进程状态。
Next, to verify that the nweb server is running, use the ps command shown in Listing 3 to check it.
接下来,要确认nweb服务器已经运行,可以使用清单3中所示的ps命令来对它进行检查。
A simple check using uptime and ps to identify the processes will tell you how busy the machine is.
使用uptime和ps检查进程,就可以查明机器是否很忙。
Log in as the user whom you need to investigate and find the PID of your shell using the ps command.
作为需要检查的用户登录,使用ps命令查明shell的PID。
Each process managed by the SRC correlates with at least one process on the normal process table (ps).
由SRC管理的每个进程与常规进程表(ps)中的至少一个进程相关联。
All UNIX systems provide tools such as ps and vmstat to provide process and virtual memory statistics.
所有unix系统都提供了ps和vmstat之类的工具,通过它们提供进程和虚拟内存统计信息。
If you run ps several times in a row to see what is changing, you probably need the top command instead.
如果您在一行内多次运行ps,以便看看发生了什么变化,您可能需要改用top命令。
'ps -aux' to collect process information, such as process ID, percent CPU, and virtual memory footprint.
'ps- aux '用于收集进程信息,例如进程ID、CPU百分比以及虚拟内存足迹。
应用推荐