Hi, monit shows the cpu usage as a share of sum of all available CPU resources - for example if you have 8 cpu cores, the single-threaded process max will be 100 / 8 = 12.5% if it fully utilises 1 cpu core. Multi-threaded process using all cpu cores will take up to 100% cpu (i.e. all cpu resources).
Top shows the cpu usage on single cpu core, hence for example multi-threaded application utilising 8 cpu cores will have up to 800% cpu usage, which is less natural. Regards, Martin On May 31, 2013, at 11:18 AM, Asterisk REQ <[email protected]> wrote: > Hi all! > A diference exits between monit cpu total value and top value for the > same process. For example top show 5.7% CPU and monit a 0.4% CPU TOTAL , why > this difference? Is not the same total CPU usage of the process and its > children in percent? > > Thanks > > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
