[Top][All Lists]

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

Re: Memory usage status

From: Martin Pala
Subject: Re: Memory usage status
Date: Thu, 11 Apr 2013 20:45:49 +0200

Some virtual machines (such as OpenVZ), mangle the kernel statistics API.

There was fix for memory usage reporting in Monit 5.2.4 (for OpenVZ, but works generally), which is more permissive for different /proc/meminfo formats.

I'd recommend monit upgrade - the monit 5.1.1 may have problem with your /proc/meminfo format (the latest version is Monit 5.5).


On Apr 11, 2013, at 8:32 PM, Peter Pichler <address@hidden> wrote:

Hi Martin,

thanks for the response.

1.) Monit version is monit version 5.1.1

2.)The virtual machine framework, hm don't know, can I find
   that out? I bought a root web-server which runs on
   the servers of the company as a virtual machine.

3.) Meminfo gives back:

MemTotal:        1048576 kB
MemFree:          464204 kB
Cached:            20092 kB
Active:            96840 kB
Inactive:          27020 kB
Active(anon):      93904 kB
Inactive(anon):     9864 kB
Active(file):       2936 kB
Inactive(file):    17156 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
AnonPages:        103768 kB
Shmem:              4300 kB
Slab:              13084 kB
SReclaimable:       4560 kB
SUnreclaim:         8524 kB

Best regards,

Am 11.04.2013 20:14, schrieb Martin Pala:

few questions:

1.) which monit version it is? (monit -V)
2.) what virtual machine framework it is?
3.) output of "cat /proc/meminfo"


On Apr 11, 2013, at 2:48 PM, Peter Pichler <address@hidden> wrote:


I am trying to observe the memory usage of my virtual machine webserver (debian 6.0.7).
So I installed monit (apt-get install monit), set up the monit webserver + tried to observer the general usage of system ressources + apache2 + mysql

I added this to my configuration:

check system localhost
 if loadavg (1min) > 4 then alert
 if loadavg (5min) > 2 then alert
 if memory usage > 75% then alert
 if cpu usage (user) > 70% then alert
 if cpu usage (system) > 30% then alert
 if cpu usage (wait) > 20% then alert

On the website it says for all the things always 0%:






localhost running [0.02] [0.01] [0.00] 0.0%us, 0.0%sy, 0.0%wa 0.0% [0 kB]

I would appreciate help what I am doing wrong.

Thanks for your efforts,
To unsubscribe:

To unsubscribe:

To unsubscribe:

reply via email to

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