Commit Graph

4 Commits

Author SHA1 Message Date
Greg Lewis b787f9f6b1 . Implement OpenFileDescriptorCount for BSD. This requires fdescfs.
PR:		118735
2008-01-12 23:24:57 +00:00
Greg Lewis 898de35926 . Implement or fix more of the OS specific statistics gathering functions.
This allows jconsole to show valid statistics for the following
  OperatingSystem MBean statistics (some of these statistics are also shown
  in the Summary and VM tab of jconsole):

  TotalSwapSpaceSize, FreeSwapSpaceSize, FreePhysicalMemorySize and
  TotalPhysicalMemorySize.

  Note that MaxFileDescriptorCount has always been correct as far as I
  can tell.
. Also, implement the function for ProcessCpuTime using a non-deprecated
  function (getrusage(2) rather than times(3)).

  These changes are restricted to 6.x and higher and have only been tested
  on 6.x (where they appear to work correctly).  The changes are not valid
  for 4.x.  Their validity on 5.x and 7.x is unknown (testing welcome).

  The PR is not fully addressed by these changes since
  CommittedVirtualMemorySize and OpenFileDescriptorCount remain bogus.
  Suggestions on how to get these without using kvm(3) would be appreciated.

PR:		118735
2008-01-01 16:49:11 +00:00
Greg Lewis 87b310dbc2 . Update to patchset 2:
. Many patches are now unnecessary as they are included in the new
    patchset.
  . The browser plugin and Java Web Start is enabled on i386 (there are
    64 bit issues with both the plugin and Mozilla/Firefox which prevent
    enabling it on amd64).
. Update the amount of disk space needed.
. Update the status of the port.
. Disable building the shared class data archive.  This broke the build
  on amd64 and appears to also be problematic on some i386 versions
  (4.11 is broken at least).  It will reappear in future, probably
  initially on a limited set of FreeBSD versions and architectures
  (6.0/i386 is reported to work).

Reviewed by:	freebsd-java@
Approved by:	maintainer timeout (1 week)
2005-09-20 20:00:08 +00:00
Greg Lewis 3e5f30ab66 . Fix a typo that results in an undefined reference (sizof -> sizeof).
PR:		77725
Submitted by:	Anthony Ginepro <anthony.ginepro@laposte.net>
2005-03-21 05:49:33 +00:00