Class SystemInformation

java.lang.Object
oshi.driver.windows.perfmon.SystemInformation

@ThreadSafe
public final class SystemInformation
extends java.lang.Object
Utility to query System performance counter
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  SystemInformation.ContextSwitchProperty
    Context switch property
  • Method Summary

    Modifier and Type Method Description
    static java.util.Map<SystemInformation.ContextSwitchProperty,​java.lang.Long> queryContextSwitchCounters()
    Returns system context switch counters.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • queryContextSwitchCounters

      public static java.util.Map<SystemInformation.ContextSwitchProperty,​java.lang.Long> queryContextSwitchCounters()
      Returns system context switch counters.
      Returns:
      Context switches counter for the total of all processors.