Class MacOperatingSystemFFM

java.lang.Object
oshi.software.common.AbstractOperatingSystem
oshi.software.os.mac.MacOperatingSystem
oshi.software.os.mac.MacOperatingSystemFFM
All Implemented Interfaces:
oshi.software.os.OperatingSystem

@ThreadSafe public class MacOperatingSystemFFM extends oshi.software.os.mac.MacOperatingSystem
macOS, previously Mac OS X and later OS X) is a series of proprietary graphical operating systems developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac computers.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface oshi.software.os.OperatingSystem

    oshi.software.os.OperatingSystem.OSVersionInfo, oshi.software.os.OperatingSystem.ProcessFiltering, oshi.software.os.OperatingSystem.ProcessSorting
  • Field Summary

    Fields inherited from class oshi.software.os.mac.MacOperatingSystem

    MACOS_VERSIONS_PROPERTIES, major, maxProc, minor, osXVersion

    Fields inherited from class oshi.software.common.AbstractOperatingSystem

    USE_WHO_COMMAND
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<oshi.software.os.OSDesktopWindow>
    getDesktopWindows(boolean visibleOnly)
     
    oshi.software.os.FileSystem
     
    oshi.software.os.InternetProtocolStats
     
    oshi.software.os.NetworkParams
     
    oshi.software.os.OSProcess
    getProcess(int pid)
     
    int
     
    int
     
    List<oshi.software.os.OSSession>
     
    long
     
    int
     
    List<oshi.software.os.OSProcess>
     
    oshi.util.tuples.Pair<String, oshi.software.os.OperatingSystem.OSVersionInfo>
     

    Methods inherited from class oshi.software.os.mac.MacOperatingSystem

    getCurrentThread, getInstalledApplications, getServices, getSystemUptime, getThreadId, parseCodeName, queryBitness, queryChildProcesses, queryDescendantProcesses, queryManufacturer

    Methods inherited from class oshi.software.common.AbstractOperatingSystem

    getBitness, getChildProcesses, getChildrenOrDescendants, getChildrenOrDescendants, getDescendantProcesses, getFamily, getManufacturer, getProcesses, getVersionInfo, toString

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface oshi.software.os.OperatingSystem

    getCurrentProcess, getProcesses, getProcesses, isElevated
  • Constructor Details

    • MacOperatingSystemFFM

      public MacOperatingSystemFFM()
  • Method Details

    • getFileSystem

      public oshi.software.os.FileSystem getFileSystem()
      Specified by:
      getFileSystem in interface oshi.software.os.OperatingSystem
      Overrides:
      getFileSystem in class oshi.software.os.mac.MacOperatingSystem
    • getInternetProtocolStats

      public oshi.software.os.InternetProtocolStats getInternetProtocolStats()
      Specified by:
      getInternetProtocolStats in interface oshi.software.os.OperatingSystem
      Overrides:
      getInternetProtocolStats in class oshi.software.os.mac.MacOperatingSystem
    • queryFamilyVersionInfo

      public oshi.util.tuples.Pair<String, oshi.software.os.OperatingSystem.OSVersionInfo> queryFamilyVersionInfo()
      Overrides:
      queryFamilyVersionInfo in class oshi.software.os.mac.MacOperatingSystem
    • getSessions

      public List<oshi.software.os.OSSession> getSessions()
      Specified by:
      getSessions in interface oshi.software.os.OperatingSystem
      Overrides:
      getSessions in class oshi.software.os.mac.MacOperatingSystem
    • queryAllProcesses

      public List<oshi.software.os.OSProcess> queryAllProcesses()
      Overrides:
      queryAllProcesses in class oshi.software.os.mac.MacOperatingSystem
    • getProcess

      public oshi.software.os.OSProcess getProcess(int pid)
      Specified by:
      getProcess in interface oshi.software.os.OperatingSystem
      Overrides:
      getProcess in class oshi.software.os.mac.MacOperatingSystem
    • getProcessId

      public int getProcessId()
      Specified by:
      getProcessId in interface oshi.software.os.OperatingSystem
      Overrides:
      getProcessId in class oshi.software.os.mac.MacOperatingSystem
    • getProcessCount

      public int getProcessCount()
      Specified by:
      getProcessCount in interface oshi.software.os.OperatingSystem
      Overrides:
      getProcessCount in class oshi.software.os.mac.MacOperatingSystem
    • getThreadCount

      public int getThreadCount()
      Specified by:
      getThreadCount in interface oshi.software.os.OperatingSystem
      Overrides:
      getThreadCount in class oshi.software.os.mac.MacOperatingSystem
    • getSystemBootTime

      public long getSystemBootTime()
      Specified by:
      getSystemBootTime in interface oshi.software.os.OperatingSystem
      Overrides:
      getSystemBootTime in class oshi.software.os.mac.MacOperatingSystem
    • getNetworkParams

      public oshi.software.os.NetworkParams getNetworkParams()
      Specified by:
      getNetworkParams in interface oshi.software.os.OperatingSystem
      Overrides:
      getNetworkParams in class oshi.software.os.mac.MacOperatingSystem
    • getDesktopWindows

      public List<oshi.software.os.OSDesktopWindow> getDesktopWindows(boolean visibleOnly)
      Specified by:
      getDesktopWindows in interface oshi.software.os.OperatingSystem
      Overrides:
      getDesktopWindows in class oshi.software.os.mac.MacOperatingSystem