|
@@ -23,8 +23,7 @@
|
|
|
<sect2 role="package">
|
|
|
<title/>
|
|
|
|
|
|
- <para>The Psmisc package contains programs for displaying information about
|
|
|
- running processes.</para>
|
|
|
+ <para>Psmisc 软件包包含显示正在运行的进程信息的程序。</para>
|
|
|
|
|
|
<segmentedlist>
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
@@ -55,8 +54,9 @@
|
|
|
|
|
|
<screen><userinput remap="install">make install</userinput></screen>
|
|
|
|
|
|
- <para>Finally, move the <command>killall</command> and <command>fuser</command>
|
|
|
- programs to the location specified by the FHS:</para>
|
|
|
+ <para>最后,移动 <command>killall</command> 和
|
|
|
+ <command>fuser</command> 到 FHS 指定的位置:
|
|
|
+ </para>
|
|
|
|
|
|
<screen><userinput remap="install">mv -v /usr/bin/fuser /bin
|
|
|
mv -v /usr/bin/killall /bin</userinput></screen>
|
|
@@ -70,7 +70,7 @@ mv -v /usr/bin/killall /bin</userinput></screen>
|
|
|
<segtitle>安装的程序</segtitle>
|
|
|
|
|
|
<seglistitem>
|
|
|
- <seg>fuser, killall, peekfd, prtstat, pstree, and pstree.x11 (link to pstree)</seg>
|
|
|
+ <seg>fuser, killall, peekfd, prtstat, pstree, 以及 pstree.x11 (到 pstree 的链接)</seg>
|
|
|
</seglistitem>
|
|
|
</segmentedlist>
|
|
|
|
|
@@ -82,8 +82,7 @@ mv -v /usr/bin/killall /bin</userinput></screen>
|
|
|
<varlistentry id="fuser">
|
|
|
<term><command>fuser</command></term>
|
|
|
<listitem>
|
|
|
- <para>Reports the Process IDs (PIDs) of processes that use the given
|
|
|
- files or file systems</para>
|
|
|
+ <para>报告使用给定文件或文件系统的进程 ID (PID)</para>
|
|
|
<indexterm zone="ch-system-psmisc fuser">
|
|
|
<primary sortas="b-fuser">fuser</primary>
|
|
|
</indexterm>
|
|
@@ -93,8 +92,7 @@ mv -v /usr/bin/killall /bin</userinput></screen>
|
|
|
<varlistentry id="killall">
|
|
|
<term><command>killall</command></term>
|
|
|
<listitem>
|
|
|
- <para>Kills processes by name; it sends a signal to all processes
|
|
|
- running any of the given commands</para>
|
|
|
+ <para>根据名称杀死进程;它向所有运行给定命令的进程发送信号</para>
|
|
|
<indexterm zone="ch-system-psmisc killall">
|
|
|
<primary sortas="b-killall">killall</primary>
|
|
|
</indexterm>
|
|
@@ -104,8 +102,7 @@ mv -v /usr/bin/killall /bin</userinput></screen>
|
|
|
<varlistentry id="peekfd">
|
|
|
<term><command>peekfd</command></term>
|
|
|
<listitem>
|
|
|
- <para>Peek at file descriptors of a running process, given its
|
|
|
- PID</para>
|
|
|
+ <para>根据给定 PID,查看正在运行进程的文件描述符</para>
|
|
|
<indexterm zone="ch-system-psmisc peekfd">
|
|
|
<primary sortas="b-peekfd">peekfd</primary>
|
|
|
</indexterm>
|
|
@@ -115,7 +112,7 @@ mv -v /usr/bin/killall /bin</userinput></screen>
|
|
|
<varlistentry id="prtstat">
|
|
|
<term><command>prtstat</command></term>
|
|
|
<listitem>
|
|
|
- <para>Prints information about a process</para>
|
|
|
+ <para>打印某个进程的信息</para>
|
|
|
<indexterm zone="ch-system-psmisc prtstat">
|
|
|
<primary sortas="b-prtstat">prtstat</primary>
|
|
|
</indexterm>
|
|
@@ -125,7 +122,7 @@ mv -v /usr/bin/killall /bin</userinput></screen>
|
|
|
<varlistentry id="pstree">
|
|
|
<term><command>pstree</command></term>
|
|
|
<listitem>
|
|
|
- <para>Displays running processes as a tree</para>
|
|
|
+ <para>以树形格式列出正在运行的进程</para>
|
|
|
<indexterm zone="ch-system-psmisc pstree">
|
|
|
<primary sortas="b-pstree">pstree</primary>
|
|
|
</indexterm>
|
|
@@ -135,8 +132,8 @@ mv -v /usr/bin/killall /bin</userinput></screen>
|
|
|
<varlistentry id="pstree.x11">
|
|
|
<term><command>pstree.x11</command></term>
|
|
|
<listitem>
|
|
|
- <para>Same as <command>pstree</command>, except that it waits for
|
|
|
- confirmation before exiting</para>
|
|
|
+ <para>除了在退出前等待用户确认外,
|
|
|
+ 和 <command>pstree</command> 相同</para>
|
|
|
<indexterm zone="ch-system-psmisc pstree.x11">
|
|
|
<primary sortas="b-pstree.x11">pstree.x11</primary>
|
|
|
</indexterm>
|