hardware:gl-ar750s-ext:vmstat

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

次のリビジョン
前のリビジョン
hardware:gl-ar750s-ext:vmstat [2020/03/16 10:12] – 作成 ともやんhardware:gl-ar750s-ext:vmstat [2020/09/11 20:32] (現在) ともやん
行 1: 行 1:
-<html> 
-  <style> 
-    #result pre { 
-      overflow: scroll; 
-      overflow-x: hidden; 
-      font-size: 10px; 
-    } 
-    #result_long pre { 
-      height: 300px; 
-      overflow: scroll; 
-      overflow-x: hidden; 
-      font-size: 10px; 
-    } 
-  </style> 
-</html> 
 ====== vmstat コマンド ====== ====== vmstat コマンド ======
  
行 75: 行 60:
 </code> </code>
 </WRAP> </WRAP>
 +
 +===== 動作確認 =====
 +<code>
 +# vmstat --help
 +</code>
 +<WRAP prewrap 100% #result>
 +<code>
 +Usage:
 + vmstat [options] [delay [count]]
 +
 +Options:
 + -a, --active           active/inactive memory
 + -f, --forks            number of forks since boot
 + -m, --slabs            slabinfo
 + -n, --one-header       do not redisplay header
 + -s, --stats            event counter statistics
 + -d, --disk             disk statistics
 + -D, --disk-sum         summarize disk statistics
 + -p, --partition <dev>  partition specific statistics
 + -S, --unit <char>      define display unit
 + -w, --wide             wide output
 + -t, --timestamp        show timestamp
 +
 + -h, --help     display this help and exit
 + -V, --version  output version information and exit
 +
 +For more details see vmstat(8).
 +</code>
 +</WRAP>
 +
 +===== 実行例 =====
 +<code>
 +# vmstat 1
 +</code>
 +<WRAP prewrap 100% #result>
 +<code>
 +procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
 +  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
 +  0      0  21728   5404  58020    0    0            7   21  9 20 70  1  0
 +  0      0  21476   5404  58276    0    0          589  431  3  7 90  0  0
 +  0      0  21188   5404  58468    0    0          494  402  3 13 83  1  0
 +</code>
 +</WRAP>
 +
 +===== 参考文献 =====
 +[[https://qiita.com/kunihirotanaka/items/21194f77713aa0663e3b|LinuxのI/OやCPUの負荷とロードアベレージの関係を詳しく見てみる - Qiita]]\\
  
  • hardware/gl-ar750s-ext/vmstat.1584321134.txt.gz
  • 最終更新: 2020/03/16 10:12
  • by ともやん