Handle different format of OperatingSystemMXBean.getSystemLoadAverage() output on macosx

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 7u4
    • Affects Version/s: 7u4
    • Component/s: core-svc
    • b11
    • x86
    • os_x
    • Verified

      OperatingSystemMXBean.getSystemLoadAverage() uses /usr/bin/uptime on Unix, Linux, and Mac OS X. The Mac OS X output text is slightly different, but the regression test in test/java/lang/management/OperatingSystemMXBean/GetSystemLoadAverage.java only handles the output format for non-Mac OS output. Add handling of the output on Mac OS X.

            Assignee:
            Jason Uh (Inactive)
            Reporter:
            Jason Uh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: