You are right, the "memory [kB]" shows the total including children, but the memory% still shows the process itself.
The patch is attached. Best regards, Martin
mem_percent.patch
Description: Binary data
On Sep 13, 2011, at 9:28 PM, Darhl Thomason wrote: > Martin, > > Thanks for having my suggestion included in the 5.3 update. I applied > it this morning and see that the memory count looks correct, but I > think the % calculation was missed in the update. It looks like it is > still reporting the % of the main thread only and does not include the > child threads. The memory % should be somewhere around 15% in the > attached screenshot/example. > > Thanks again!! > > Darhl > > On Sep 1, 2011, at 9:27 AM, Martin Pala <address@hidden> wrote: > > You are right, int he case of the process-based worker pool such as > Apache it is confusing to display only the CPU and Memory usage of the > parent/control process. > We'll modify the overview page to display the resource usage including > children (will work fine even for services without children - in their > case the total memory usage and memory usage are equal). > Best regards, > Martin > > On Aug 30, 2011, at 4:33 AM, Darhl Thomason wrote: > > Martin, > > Thanks for the reply and I now see the 'Total Memory Usage (incl. > children)' on the detail page for the Apache process. It's a bit > confusing because the top line of the main page shows total memory > used, but when you add up the memory displayed on that page for each > process it doesn't add up. > > Are there any plans or is there any possibility for the main page to > show 'Total Memory Usage (incl. children)'? I also just noticed that > CPU usage is reported the same way. The main page only shows CPU for > the single process, but the detail page shows 'Total CPU Usage (incl. > children)'. > > If you have a wishlist, I'd like to add the Total Memory Usage (incl. > children) and Total CPU Usage (incl. children) on the main page. > Maybe have this as an option in the config file so you can do > something like this: > <monit_5.3.png>-- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
