monit-general
[Top][All Lists]
Advanced

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

Child process reporting


From: Darhl Thomason
Subject: Child process reporting
Date: Tue, 26 Apr 2011 14:34:59 -0700

I checked through the archives and found a message saying this issue was
being worked on, but the message was from 2003...

I'm not certain that Monit is displaying the correct memory % for my
processes.  Example, I am running Apache2, monit says its consuming 0.9% but
when I look at top, it shows 10 apache2 threads running a total of 13.1% of my
memory.

How can I get monit to display all the memory consumed by apache?

Thanks!

 

Top shows this for apache:

top - 13:57:46 up 19:38,  1 user, 
load average: 0.32, 0.32, 0.24
Tasks:  95 total,   1 running,  94 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   1034428k total,   536132k used,   498296k free,    83712k buffers
Swap:  1998840k total,      380k used,  1998460k free,   250584k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
18043 www-data  20   0 45220  14m 4712 S  0.0  1.4   0:02.74 apache2
19849 www-data  20   0 45468  14m 4636 S  0.0  1.4   0:01.47 apache2
21665 www-data  20   0 43592  12m 4300 S  0.0  1.2   0:02.69 apache2
23024 www-data  20   0 45340  14m 4648 S  0.0  1.4   0:01.62 apache2
23926 www-data  20   0 45172  14m 4640 S  0.0  1.4   0:01.50 apache2
24378 www-data  20   0 43692  12m 4712 S  0.0  1.3   0:02.40 apache2
25281 www-data  20   0 42780  11m 4272 S  0.0  1.2   0:02.50 apache2
25737 www-data  20   0 45508  14m 4244 S  0.0  1.4   0:01.44 apache2
26207 www-data  20   0 43192  12m 4328 S  0.0  1.2   0:04.16 apache2
26673 www-data  20   0 43652  12m 4184 S  0.0  1.2   0:02.33 apache2

And monit shows this:

Process    Status     Uptime     CPU              Memory

Apache     running    18h 15m    0.0%    0.9% [10324 kB]


reply via email to

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