语法高亮,滚动条美化,设置页面调整

This commit is contained in:
fofolee
2019-04-19 02:41:09 +08:00
parent 1e8f76c000
commit 359d29ee0b
1590 changed files with 12328 additions and 11441 deletions

View File

@@ -5,19 +5,19 @@
<p>iotop使用Python语言编写而成要求Python2.5及以上版本和Linux kernel2.6.20及以上版本。iotop提供有源代码及rpm包可从其官方主页下载。</p>
<h3 id="安装">安装</h3>
<p><strong>Ubuntu</strong></p>
<pre><code>apt-get install iotop</code></pre>
<pre><code class="language-bash">apt-get install iotop</code></pre>
<p><strong>CentOS</strong></p>
<pre><code>yum install iotop</code></pre>
<pre><code class="language-bash">yum install iotop</code></pre>
<p><strong>编译安装</strong></p>
<pre><code>wget http://guichaz.free.fr/iotop/files/iotop-0.4.4.tar.gz
<pre><code class="language-bash">wget http://guichaz.free.fr/iotop/files/iotop-0.4.4.tar.gz
tar zxf iotop-0.4.4.tar.gz
python setup.py build
python setup.py install
</code></pre>
<h3 id="语法">语法</h3>
<pre><code>iotop选项</code></pre>
<pre><code class="language-bash">iotop选项</code></pre>
<h3 id="选项">选项</h3>
<pre><code>-o只显示有io操作的进程
<pre><code class="language-bash">-o只显示有io操作的进程
-b批量显示无交互主要用作记录到文件。
-n NUM显示NUM次主要用于非交互式模式。
-d SEC间隔SEC秒显示一次。
@@ -34,7 +34,7 @@ python setup.py install
</ol>
<h3 id="实例">实例</h3>
<p>直接执行iotop就可以看到效果了</p>
<pre><code>Total DISK read: 0.00 B/s | Total DISK write: 0.00 B/s
<pre><code class="language-bash">Total DISK read: 0.00 B/s | Total DISK write: 0.00 B/s
TID PRIO USER DISK READ DISK WRITE SWAPIN IO&gt; command
1 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % init [3]
2 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kthreadd]