📄 procps.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content= "application/xhtml+xml; charset=iso-8859-1" /> <title> 10.26. Procps-3.2.6 </title> <link rel="stylesheet" href="../stylesheets/lfs.css" type="text/css" /> <meta name="generator" content="DocBook XSL Stylesheets V1.69.1" /> <link rel="stylesheet" href="../stylesheets/lfs-print.css" type= "text/css" media="print" /> </head> <body id="lfs" class="CLFS-SVN-20060417-MIPS"> <div class="navheader"> <div class="headertitles"> <h4> Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS </h4> <h3> Chapter 10. Installing Basic System Software </h3> </div> <ul class="headerlinks"> <li class="prev"> <a accesskey="p" href="inetutils.html" title= "Inetutils-1.4.2">Prev</a> <p> Inetutils-1.4.2 </p> </li> <li class="next"> <a accesskey="n" href="perl.html" title="Perl-5.8.8">Next</a> <p> Perl-5.8.8 </p> </li> <li class="up"> <a accesskey="u" href="chapter.html" title= "Chapter 10. Installing Basic System Software">Up</a>. </li> <li class="home"> <a accesskey="h" href="../index.html" title= "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS"> Home</a> </li> </ul> </div> <div class="wrap" lang="en" xml:lang="en"> <div class="titlepage"> <h1 class="sect1"> 10.26. Procps-3.2.6 </h1> </div> <div class="package" lang="en" xml:lang="en"> <p> The Procps package contains programs for monitoring processes. </p> <div class="segmentedlist"> <div class="seglistitem"> <div class="seg"> <strong><span class="segtitle">Installation depends on:</span></strong> <span class="seg">Bash, Binutils, Coreutils, GCC, Glibc, Make, and Ncurses</span> </div> </div> </div> </div> <div class="installation" lang="en" xml:lang="en"> <div class="titlepage"> <h2 class="sect2"> 10.26.1. Installation of Procps </h2> </div> <p> Compile the package: </p> <pre class="userinput"><kbd class="command">make</kbd></pre> <p> This package does not come with a test suite. </p> <p> Install the package: </p> <pre class="userinput"><kbd class="command">make install</kbd></pre> </div> <div class="content" lang="en" xml:lang="en"> <div class="titlepage"> <a id="contents-procps" name="contents-procps"></a> <h2 class="sect2"> 10.26.2. Contents of Procps </h2> </div> <div class="segmentedlist"> <div class="seglistitem"> <div class="seg"> <strong><span class="segtitle">Installed programs:</span></strong> <span class="seg">free, kill, pgrep, pkill, pmap, ps, skill, snice, sysctl, tload, top, uptime, vmstat, w, and watch</span> </div> <div class="seg"> <strong><span class="segtitle">Installed library:</span></strong> <span class="seg">libproc.so</span> </div> </div> </div> <div class="variablelist"> <h3> <a id="id3675542" name="id3675542"></a>Short Descriptions </h3> <table border="0"> <col align="left" valign="top" /> <tbody> <tr> <td> <a id="free" name="free"></a><span class= "term"><span><strong class= "command">free</strong></span></span> </td> <td> <p> Reports the amount of free and used memory (both physical and swap memory) in the system </p> </td> </tr> <tr> <td> <a id="kill" name="kill"></a><span class= "term"><span><strong class= "command">kill</strong></span></span> </td> <td> <p> Sends signals to processes </p> </td> </tr> <tr> <td> <a id="pgrep" name="pgrep"></a><span class= "term"><span><strong class= "command">pgrep</strong></span></span> </td> <td> <p> Looks up processes based on their name and other attributes </p> </td> </tr> <tr> <td> <a id="pkill" name="pkill"></a><span class= "term"><span><strong class= "command">pkill</strong></span></span> </td> <td> <p> Signals processes based on their name and other attributes </p> </td> </tr> <tr> <td> <a id="pmap" name="pmap"></a><span class= "term"><span><strong class= "command">pmap</strong></span></span> </td> <td> <p> Reports the memory map of the given process </p> </td> </tr> <tr> <td> <a id="ps" name="ps"></a><span class= "term"><span><strong class= "command">ps</strong></span></span> </td> <td> <p> Lists the current running processes </p> </td> </tr> <tr> <td> <a id="skill" name="skill"></a><span class= "term"><span><strong class= "command">skill</strong></span></span> </td> <td> <p> Sends signals to processes matching the given criteria </p> </td> </tr> <tr> <td> <a id="snice" name="snice"></a><span class= "term"><span><strong class= "command">snice</strong></span></span> </td> <td> <p> Changes the scheduling priority of processes matching the given criteria </p> </td> </tr> <tr> <td> <a id="sysctl" name="sysctl"></a><span class= "term"><span><strong class= "command">sysctl</strong></span></span> </td> <td> <p> Modifies kernel parameters at run time </p> </td> </tr> <tr> <td> <a id="tload" name="tload"></a><span class= "term"><span><strong class= "command">tload</strong></span></span> </td> <td> <p> Prints a graph of the current system load average </p> </td> </tr> <tr> <td> <a id="top" name="top"></a><span class= "term"><span><strong class= "command">top</strong></span></span> </td> <td> <p> Displays a list of the most CPU intensive processes; it provides an ongoing look at processor activity in real time </p> </td> </tr> <tr> <td> <a id="uptime" name="uptime"></a><span class= "term"><span><strong class= "command">uptime</strong></span></span> </td> <td> <p> Reports how long the system has been running, how many users are logged on, and the system load averages </p> </td> </tr> <tr> <td> <a id="vmstat" name="vmstat"></a><span class= "term"><span><strong class= "command">vmstat</strong></span></span> </td> <td> <p> Reports virtual memory statistics, giving information about processes, memory, paging, block Input/Output (IO), traps, and CPU activity </p> </td> </tr> <tr> <td> <a id="w" name="w"></a><span class= "term"><span><strong class= "command">w</strong></span></span> </td> <td> <p> Shows which users are currently logged on, where, and since when </p> </td> </tr> <tr> <td> <a id="watch" name="watch"></a><span class= "term"><span><strong class= "command">watch</strong></span></span> </td> <td> <p> Runs a given command repeatedly, displaying the first screen-full of its output; this allows a user to watch the output change over time </p> </td> </tr> <tr> <td> <a id="libproc" name="libproc"></a><span class= "term"><tt class="filename">libproc</tt></span> </td> <td> <p> Contains the functions used by most programs in this package </p> </td> </tr> </tbody> </table> </div> </div> </div> <div class="navfooter"> <ul> <li class="prev"> <a accesskey="p" href="inetutils.html" title= "Inetutils-1.4.2">Prev</a> <p> Inetutils-1.4.2 </p> </li> <li class="next"> <a accesskey="n" href="perl.html" title="Perl-5.8.8">Next</a> <p> Perl-5.8.8 </p> </li> <li class="up"> <a accesskey="u" href="chapter.html" title= "Chapter 10. Installing Basic System Software">Up</a>. </li> <li class="home"> <a accesskey="h" href="../index.html" title= "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS"> Home</a>. </li> </ul> </div> </body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -