.
where: ȥå > Tips > ƥޥ
Counter: 8812, today: 1, yesterday: 1

ƥޥ

ƥˤĴˡޤȤޤ

free ޥ
ʪλѾɽޤޤ/proc/meminfoƤ
(ñ̤ KB)

$ free
            total      used      free    shared    buffers    cached
Mem:        254728    249576      5152         0      14848   125780
-/+ buffers/cache:    108948    145780
Swap:       522104     74740    447364

UNIXOSǤϡƥץФΰưŪ˳ơλĤХ
եȥåѤƥǥϤ٤򸺤餷Ƥħޤ

츫ΰ褬 "5152KB" ĤäƤ餺ʪ­򵿤
ǤХåեȥåžѤ줿ʬθɬפޤ

Ĵ٤뤿ˤ [ free + buffers + cached ] Ƿ׻ޤ

                            5152 +  14848  + 125780 = 145780KB
                                                      ~~~~~~~~

ʪμ¼Ĵˤ -/+ buffers/cache: dzǧޤ

ޤSwapΰ˻ѤƤޤʪȤƤ
ΤǤϤʤͥ뤬ʪdzưƤץξʤʬ
ưΤSwapΰ򤷤ƤȤȤ̣Ƥޤ

ޤȤ
UNIXOSǤϡƥץФƥͥ뤬ưŪ˳ƤƤ롣
ͭ륢ץꥱ¿¸ߤ롣
Ϥˤϥͥμɬס
ʪΥ¬freeޥɤŬ

vmstatޥ
ץꡦCPUʤɤβưɽޤ
(ñ̤ KB)

$ vmstat 2 5  (2ôֳ֤5¹Ԥ)
 procs          memory               swap     io     system     cpu
r  b  w  swpd   free   buff  cache  si  so  bi  bo   in  cs  us  sy  id
0  0  0  74740  5152  14840 125788   0   1  18  24  111  20   1   1  98
0  0  0  74740  5436  15156 125440   0   0   0   0  102  12   0   0 100
0  0  0  74740  5436  15156 125440   0   0   0   0  102  11   0   0 100
0  0  0  74740  5432  15160 125440   0   0   0  12  104  14   0   0 100
0  0  0  74740  5432  15160 125440   0   0   0   0  104  12   0   0 100

ܤ٤ս
procs

 b  Ԥǥ֥åƤץͤ礭ǥ
      I/O꤬ȹͤ롣

swap

 si ĥǥ饹åץ󤵤Ƥ̡Ūޤ
      Ūȯʤ

 so ĥǥ˥åץȤƤ̡Ūȯ
      ʤŪSwapΰ˽񤭹礬ȯƤ
      ʪ꤬­Ƥǽ롣
      (ñCPUǽϤ­Ƥξ⤢쳵ˤϸʤ)

cpu (%)

 us CPUΥ桼֤γ硣ͤʤ˾ޤ

 sy CPUΥƥ֤γ硣ͤʤ˾ޤ

ޤȤ
ѾޤȤɽ뤿ᡢꥢ륿ʽϤ롣


  ʬ եź źեե   Wikiȥå ǽ Хåå   إ   ǽRSS
ȥåХå [ ȥåХå(0) ]
ȥåХå URL: http://linuxexpert.ne.jp/modules/pukiwiki/tb/92

Expert Menu
ǿ
2017-11-16 2016-7-19 2016-5-31 2016-4-12 2016-4-5 2016-3-28 2016-3-10 2015-8-7
ʤ
Yahoo Japan
̤
ͧͤʹ
URLΤäƤ
¾Ȥ
ǿСγǧ

Linuxexpert is one of the service presented by InfomationSquare. / OmakaseBlog Login  |  Register Now!