Review request: 7129308 Handle OperatingSystemMXBean.getSystemLoadAverage() output on macosx (original) (raw)

Jason Uh jason.uh at oracle.com
Wed Jan 11 17:25:29 PST 2012


Hi,

This change handles the difference in the output text of /usr/bin/uptime on Mac OS X from that on Unix/Linux.

Please see: http://cr.openjdk.java.net/~juh/7129308/webrev.00/

Note that

      output = output.substring(output.lastIndexOf(LOAD_AVERAGE_TEXT) +

serves to simply strip a space on all platforms.

Thanks, Jason



More information about the macosx-port-dev mailing list