# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2020-06-17 12:44+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: Content of:
#: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:14 #, no-wrap msgid "&procps-ng-url;" msgstr "" #. type: Content of: #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:12 msgid "" "procps-ng " "&procps-ng-version; " msgstr "" #. type: Content of: #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:17 msgid "Procps-ng-&procps-ng-version;" msgstr "" #. type: Content of: <sect1><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:20 msgid "Procps-ng" msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:26 msgid "The Procps-ng package contains programs for monitoring processes." msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:29 msgid "&buildtime;" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:30 msgid "&diskspace;" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:33 msgid "&procps-ng-fin-sbu;" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:34 msgid "&procps-ng-fin-du;" msgstr "" #. type: Content of: <sect1><sect2><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:41 msgid "Installation of Procps-ng" msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:43 msgid "Prepare procps-ng for compilation:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:45 #, no-wrap msgid "" "<userinput remap=\"configure\">./configure --prefix=/usr " "\\\n" " --exec-prefix= \\\n" " --libdir=/usr/lib \\\n" " --docdir=/usr/share/doc/procps-ng-&procps-ng-version; \\\n" " --disable-static \\\n" " --disable-kill</userinput>" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:52 #, no-wrap msgid "" "<userinput remap=\"configure\">./configure --prefix=/usr " "\\\n" " --exec-prefix= \\\n" " --libdir=/usr/lib \\\n" " --docdir=/usr/share/doc/procps-ng-&procps-ng-version; \\\n" " --disable-static \\\n" " --disable-kill \\\n" " --with-systemd</userinput>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:61 msgid "The meaning of the configure option:" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:64 msgid "<parameter>--disable-kill</parameter>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:66 msgid "" "This switch disables building the <command>kill</command> command that will " "be installed by the Util-linux package." msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:72 msgid "Compile the package:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:74 #, no-wrap msgid "<userinput remap=\"make\">make</userinput>" msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:76 msgid "" "The test suite needs some custom modifications for LFS. Remove a test that " "fails when scripting does not use a tty device and fix two others. To run " "the test suite, run the following commands:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:81 #, no-wrap msgid "" "<userinput remap=\"test\">sed -i -r 's|(pmap_initname)\\\\\\$|\\1|' " "testsuite/pmap.test/pmap.exp\n" "sed -i '/set tty/d' testsuite/pkill.test/pkill.exp\n" "rm testsuite/pgrep.test/pgrep.exp\n" "make check</userinput>" msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:86 msgid "Install the package:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:88 #, no-wrap msgid "<userinput remap=\"install\">make install</userinput>" msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:90 msgid "" "Finally, move essential libraries to a location that can be found if " "<filename class=\"directory\">/usr</filename> is not mounted." msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:93 #, no-wrap msgid "" "<userinput remap=\"install\">mv -v /usr/lib/libprocps.so.* /lib\n" "ln -sfv ../../lib/$(readlink /usr/lib/libprocps.so) " "/usr/lib/libprocps.so</userinput>" msgstr "" #. type: Content of: <sect1><sect2><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:99 msgid "Contents of Procps-ng" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:102 msgid "Installed programs" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:103 msgid "Installed library" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:104 msgid "Installed directories" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:107 msgid "" "free, pgrep, pidof, pkill, pmap, ps, pwdx, slabtop, sysctl, tload, top, " "uptime, vmstat, w, and watch" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:109 msgid "libprocps.so" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:110 msgid "/usr/include/proc and /usr/share/doc/procps-ng-&procps-ng-version;" msgstr "" #. type: Content of: <sect1><sect2><variablelist><bridgehead> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:115 msgid "Short Descriptions" msgstr "" #. type: Content of: <sect1><sect2><variablelist> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:116 msgid "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:120 msgid "<command>free</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:122 msgid "" "Reports the amount of free and used memory (both physical and swap memory) " "in the system" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:125 msgid "free" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:131 msgid "<command>pgrep</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:133 msgid "Looks up processes based on their name and other attributes" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:135 msgid "pgrep" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:141 msgid "<command>pidof</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:143 msgid "Reports the PIDs of the given programs" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:145 msgid "pidof" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:151 msgid "<command>pkill</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:153 msgid "Signals processes based on their name and other attributes" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:155 msgid "pkill" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:161 msgid "<command>pmap</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:163 msgid "Reports the memory map of the given process" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:165 msgid "pmap" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:171 msgid "<command>ps</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:173 msgid "Lists the current running processes" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:175 msgid "ps" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:181 msgid "<command>pwdx</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:183 msgid "Reports the current working directory of a process" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:185 msgid "pwdx" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:191 msgid "<command>slabtop</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:193 msgid "Displays detailed kernel slab cache information in real time" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:195 msgid "slabtop" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:201 msgid "<command>sysctl</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:203 msgid "Modifies kernel parameters at run time" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:205 msgid "sysctl" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:211 msgid "<command>tload</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:213 msgid "Prints a graph of the current system load average" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:215 msgid "tload" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:221 msgid "<command>top</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:223 msgid "" "Displays a list of the most CPU intensive processes; it provides an ongoing " "look at processor activity in real time" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:226 msgid "top" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:232 msgid "<command>uptime</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:234 msgid "" "Reports how long the system has been running, how many users are logged on, " "and the system load averages" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:237 msgid "uptime" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:243 msgid "<command>vmstat</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:245 msgid "" "Reports virtual memory statistics, giving information about processes, " "memory, paging, block Input/Output (IO), traps, and CPU activity" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:249 msgid "vmstat" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:255 msgid "<command>w</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:257 msgid "Shows which users are currently logged on, where, and since when" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:260 msgid "w" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:266 msgid "<command>watch</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:268 msgid "" "Runs a given command repeatedly, displaying the first screen-full of its " "output; this allows a user to watch the output change over time" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:272 msgid "watch" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:278 msgid "<filename class=\"libraryfile\">libprocps</filename>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:280 msgid "Contains the functions used by most programs in this package" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/procps.xml:283 msgid "libprocps" msgstr ""