The agent metric for process CPU is always averaged across all CPUs.
On a multi-processor Linux server if top is run in default mode (Irix is on) the %CPU is the grand total across all CPUs (not averaged).
Therefore for a better comparison it is better to run top in Solaris mode by toggling the Irix mode off using the interactive "I" option.
These steps describe how the agent captures CPU metrics:
- For CPU metrics the agent samples every 2.5 seconds using the Unix System API calls.
- The agent collects total CPU usage (including agent + all other processes that are running on the AppServer)
- The agent process CPU is divided by total CPU value (of all CPUs) to get the agent process usage share of the CPU (then multiplied by 100 to get the percentage.)