aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2008-01-02 00:49:11 +0800
committerglewis <glewis@FreeBSD.org>2008-01-02 00:49:11 +0800
commit44f32cb8e45c6975b7ede0ffb752931cdca73a20 (patch)
tree71dc961af23229ff29b7cae5ed42ca05f72c39fb /games
parentf83224662ebe359163d926d860f4086a9b7c9ff1 (diff)
downloadfreebsd-ports-gnome-44f32cb8e45c6975b7ede0ffb752931cdca73a20.tar.gz
freebsd-ports-gnome-44f32cb8e45c6975b7ede0ffb752931cdca73a20.tar.zst
freebsd-ports-gnome-44f32cb8e45c6975b7ede0ffb752931cdca73a20.zip
. 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
Diffstat (limited to 'games')
0 files changed, 0 insertions, 0 deletions