📄 procps.html
字号:
<HTML><HEAD><TITLE>Procps</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.63"><LINKREL="HOME"TITLE="Linux From Scratch"HREF="../index.html"><LINKREL="UP"TITLE="Package descriptions"HREF="../appendixa/appendixa.html"><LINKREL="PREVIOUS"TITLE="Procinfo"HREF="../appendixa/procinfo.html"><LINKREL="NEXT"TITLE="Psmisc"HREF="../appendixa/psmisc.html"></HEAD><BODYCLASS="sect1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Linux From Scratch: Version 3.1</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="../appendixa/procinfo.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Appendix A. Package descriptions</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="../appendixa/psmisc.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="sect1"><H1CLASS="sect1"><ANAME="aa-procps">A.44. Procps</A></H1><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN5682">A.44.1. Contents</A></H2><P>The Procps package contains the free, kill, oldps, ps, skill, snice,sysctl, tload, top, uptime, vmstat, w and watch programs.</P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN5685">A.44.2. Description</A></H2><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5687">A.44.2.1. free</A></H3><P>free displays the total amount of free and used physical and swap memory in the system, as well as the shared memory and buffers used by the kernel.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5690">A.44.2.2. kill</A></H3><P>kills sends signals to processes.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5693">A.44.2.3. oldps and ps</A></H3><P>ps gives a snapshot of the current processes.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5696">A.44.2.4. skill</A></H3><P>skill sends signals to process matching a criteria.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5699">A.44.2.5. snice</A></H3><P>snice changes the scheduling priority for process matching a criteria.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5702">A.44.2.6. sysctl</A></H3><P>sysctl modifies kernel parameters at runtime.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5705">A.44.2.7. tload</A></H3><P>tload prints a graph of the current system load average to the specified tty (or the tty of the tload process if none is specified).</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5708">A.44.2.8. top</A></H3><P>top provides an ongoing look at processor activity in real time.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5711">A.44.2.9. uptime</A></H3><P>uptime gives a one line display of the following information: the current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5714">A.44.2.10. vmstat</A></H3><P>vmstat reports information about processes, memory, paging, block IO, traps, and cpu activity.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5717">A.44.2.11. w</A></H3><P>w displays information about the users currently on the machine, and their processes.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5720">A.44.2.12. watch</A></H3><P>watch runs command repeatedly, displaying its output (the first screen full).</P></DIV></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="../appendixa/procinfo.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../index.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="../appendixa/psmisc.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Procinfo</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../appendixa/appendixa.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Psmisc</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -