Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8030957

AIX: Implement OperatingSystemMXBean.getSystemCpuLoad() and .getProcessCpuLoad() on AIX

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: port-stage-ppc-aix, 8, 9, 10
    • Fix Version/s: tbd
    • Component/s: core-svc
    • Labels:
      None

      Description

      These two methods should be implemented in src/aix/native/sun/management/AixOperatingSystem.c (which has to be created).

      getProcessCpuLoad() can be probably implemented in the same way like on Solaris be reading /proc/self/psinfo

      For getSystemCpuLoad() we'll probalby have to use 'perfstat_cpu_total()' from libperf (see http://publib.boulder.ibm.com/infocenter/pseries/v5r3/topic/com.ibm.aix.prftools/doc/prftools/prftools07.htm#wq407)

      Once this issue has been resolved you should not forget to remove the two excludes from jdk/test/ProblemList.txt:

      com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java aix-all
      com/sun/management/OperatingSystemMXBean/GetSystemCpuLoad.java aix-all

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              simonis Volker Simonis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: