Hi Olivier,

no - there is nothing on CPU consumption.  I don't believe there is any
standard way to get the CPU consumption from a Java process.

The closest I can find is that if the platform implementation of
OperatingSystemMXBean implements com.sun.management.OperatingSystemMXBean
then it will provide a long getProcessCpuTime() method.

Theoretically that could be added to the BrokerAttributeInjector in the
Qpid Broker-J codebase (in the same style as the other statistics are added
in that class).

-- Rob



On Fri, 15 Nov 2019 at 17:31, VERMEULEN Olivier <[email protected]>
wrote:

> Hello,
>
> We're using the Broker-J 7.1.3.
> Looking at the statistics provided by /api/latest/broker/getStatistics, I
> don't see anything related to the CPU consumption.
> Did I miss something or this information is not provided?
>
> Thanks,
> Olivier
> *******************************
> This e-mail contains information for the intended recipient only. It may
> contain proprietary material or confidential information. If you are not
> the intended recipient you are not authorized to distribute, copy or use
> this e-mail or any attachment to it. Murex cannot guarantee that it is
> virus free and accepts no responsibility for any loss or damage arising
> from its use. If you have received this e-mail in error please notify
> immediately the sender and delete the original email received, any
> attachments and all copies from your system.
>

Reply via email to