All Apps and Add-ons
Highlighted

Why is value of bytes sent for channel status is negative?

New Member

I found that the value of bytes sent for Channel status is negative when it is greater than 2^31.

It showed a positive number in MQ explorer. It seems that the plugin treats the number as a signed 32 bit integer. When the value is greater than 2^31, it is interpreted as a negative number.

The first picture is from Splunk and the second one is from MQ explorer. I can add 2^32 to this negative number to get the correct value.

But what is the root cause of the problem? I am using 64 bit red hat server.
Is this caused by ctypes library?

alt text

alt text

0 Karma