java/118735: Java 1.5: JMX OperatingSystem mbean yields wrong
results
Greg Lewis
glewis at eyesbeyond.com
Tue Jan 1 09:07:17 PST 2008
On Sat, Dec 15, 2007 at 10:52:07PM +0000, Kees Jan Koster wrote:
> The OperatingSystem mbean returns no useful results for the
> attributes that I tested, which were: TotalSwapSpaceSize,
> FreeSwapSpaceSize, OpenFileDescriptorCount, FreePhysicalMemorySize,
> CommittedVirtualMemorySize, MaxFileDescriptorCount,
> TotalPhysicalMemorySize.
>
> These values are either seemingly random, or fixed at some unless value.
I've committed a fix that implements TotalSwapSpaceSize, FreeSwapSpaceSize,
FreePhysicalMemorySize and fixes TotalPhysicalMemorySize.
MaxFileDescriptorCount has always been right as far as I can tell.
Not quite sure how to get OpenFileDescriptorCount without using kvm(3)
yet. Not sure what they mean by CommittedVirtualMemorySize yet.
--
Greg Lewis Email : glewis at eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology FreeBSD : glewis at FreeBSD.org
More information about the freebsd-java
mailing list