mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2026-03-04 03:50:35 +08:00
语法高亮,滚动条美化,设置页面调整
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
<h2 id="补充说明">补充说明</h2>
|
||||
<p><strong>top命令</strong> 可以实时动态地查看系统的整体运行情况,是一个综合了多方信息监测系统性能和运行信息的实用工具。通过top命令所提供的互动式界面,用热键可以管理。</p>
|
||||
<h3 id="语法">语法</h3>
|
||||
<pre><code>top(选项)</code></pre>
|
||||
<pre><code class="language-bash">top(选项)</code></pre>
|
||||
<h3 id="选项">选项</h3>
|
||||
<pre><code>-b:以批处理模式操作;
|
||||
<pre><code class="language-bash">-b:以批处理模式操作;
|
||||
-c:显示完整的治命令;
|
||||
-d:屏幕刷新间隔时间;
|
||||
-I:忽略失效过程;
|
||||
@@ -17,7 +17,7 @@
|
||||
-n<次数>:循环显示的次数。</code></pre>
|
||||
<h3 id="top交互命令">top交互命令</h3>
|
||||
<p>在top命令执行过程中可以使用的一些交互命令。这些命令都是单字母的,如果在命令行中使用了-s选项, 其中一些命令可能会被屏蔽。</p>
|
||||
<pre><code>h:显示帮助画面,给出一些简短的命令总结说明;
|
||||
<pre><code class="language-bash">h:显示帮助画面,给出一些简短的命令总结说明;
|
||||
k:终止一个进程;
|
||||
i:忽略闲置和僵死进程,这是一个开关式命令;
|
||||
q:退出程序;
|
||||
@@ -35,7 +35,7 @@ P:根据CPU使用百分比大小进行排序;
|
||||
T:根据时间/累计时间进行排序;
|
||||
w:将当前设置写入~/.toprc文件中。</code></pre>
|
||||
<h3 id="实例">实例</h3>
|
||||
<pre><code>top - 09:44:56 up 16 days, 21:23, 1 user, load average: 9.59, 4.75, 1.92
|
||||
<pre><code class="language-bash">top - 09:44:56 up 16 days, 21:23, 1 user, load average: 9.59, 4.75, 1.92
|
||||
Tasks: 145 total, 2 running, 143 sleeping, 0 stopped, 0 zombie
|
||||
Cpu(s): 99.8%us, 0.1%sy, 0.0%ni, 0.2%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
|
||||
Mem: 4147888k total, 2493092k used, 1654796k free, 158188k buffers
|
||||
|
||||
Reference in New Issue
Block a user