monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 4.7-beta1: memory usage differences


From: Martin Pala
Subject: Re: 4.7-beta1: memory usage differences
Date: Tue, 20 Dec 2005 14:35:09 +0100
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

Hi,

on linux the system memory usage is counted as:

  MemTotal - MemFree - Buffers - Cached

The result shows the memory usage (excluding buffers/cache which is allocated by the kernel and reduced automaticaly if memory is needed).

This gives in your case 1257616 kB (based on your /proc/meminfo bellow).

The value reported by monit corresponds to the "-/+ buffers/cache:" line of the 'free' utility - for example on my server with 2GB RAM:

--8<--
address@hidden ~]# free
             total       used       free     shared    buffers     cached
Mem:       2074964    1331000     743964          0     341192     627308
-/+ buffers/cache:     362500    1712464
Swap:      2112536          0    2112536
--8<--


Martin


metaworx - martin rüegg wrote:
hi

we just installed 4.7-beta1 on our system to check out the new system
monitoring feature.

we run debian linux with

address@hidden:~$ uname -a
Linux dolomit 2.6.14.4-vs2.0.1 #1 SMP Fri Dec 16 13:05:24 CET 2005 i686
GNU/Linux

vservers are running.

now monit reports the following:

System 'dolomit'
  status                            running
  monitoring status                 monitored
  load average                      [1.35] [1.32] [1.23]
  cpu                               3.9%us 1.9%sy 0.0%wa
  memory usage                      1257408 kB [60.5%]
  data collected                    Mon Dec 19 20:34:16 2005

while on /proc we got different values on memory usage.

address@hidden:~$ sudo cat /proc/meminfo MemTotal: 2075320 kB
MemFree:         73108 kB
Buffers:        111596 kB
Cached:         633000 kB
SwapCached:          4 kB
Active:        1011856 kB
Inactive:       407904 kB
HighTotal:     1179392 kB
HighFree:        63984 kB
LowTotal:       895928 kB
LowFree:          9124 kB
SwapTotal:     2097144 kB
SwapFree:      2097124 kB
Dirty:             372 kB
Writeback:          48 kB
Mapped:         730040 kB
Slab:           557744 kB
CommitLimit:   3134804 kB
Committed_AS:  1795656 kB
PageTables:       6136 kB
VmallocTotal:   114680 kB
VmallocUsed:      8920 kB
VmallocChunk:   105744 kB

can this be an issue of SMP (2 CPU) or vserver-patch?

we also tried to run monit in context 1 (which can see all processes): same
result.

how is the memory usage calculated?

best regards,
martin.

___________________________________________________________________

Martin Rueegg                             Owner and IT staff member
                                                 http://metaworx.ch
metaworx rueegg                          mailto:address@hidden

Site Office Germany                         Head Office Switzerland
Birkentalstrasse 4                                      Ruetiweg 13
DE-97209 Veitshoechheim                               CH-8610 Uster

tel: +49 (931) 710 55 90                    tel: +41 (44) 99 44 044
fax: +49 (931) 970 90 88                    fax: +41 (44) 99 44 043
gsm: +49 (1520) 8 563 549 gsm: +41 (79) 312 50 15
mailto:address@hidden                     skype: martin.rueegg
___________________________________________________________________






--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general





reply via email to

[Prev in Thread] Current Thread [Next in Thread]