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, osXVersionFields inherited from class oshi.software.common.AbstractOperatingSystem
USE_WHO_COMMAND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<oshi.software.os.OSDesktopWindow> getDesktopWindows(boolean visibleOnly) oshi.software.os.FileSystemoshi.software.os.InternetProtocolStatsoshi.software.os.NetworkParamsoshi.software.os.OSProcessgetProcess(int pid) intintList<oshi.software.os.OSSession> longintList<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, queryManufacturerMethods inherited from class oshi.software.common.AbstractOperatingSystem
getBitness, getChildProcesses, getChildrenOrDescendants, getChildrenOrDescendants, getDescendantProcesses, getFamily, getManufacturer, getProcesses, getVersionInfo, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
getFileSystemin interfaceoshi.software.os.OperatingSystem- Overrides:
getFileSystemin classoshi.software.os.mac.MacOperatingSystem
-
getInternetProtocolStats
public oshi.software.os.InternetProtocolStats getInternetProtocolStats()- Specified by:
getInternetProtocolStatsin interfaceoshi.software.os.OperatingSystem- Overrides:
getInternetProtocolStatsin classoshi.software.os.mac.MacOperatingSystem
-
queryFamilyVersionInfo
public oshi.util.tuples.Pair<String, oshi.software.os.OperatingSystem.OSVersionInfo> queryFamilyVersionInfo()- Overrides:
queryFamilyVersionInfoin classoshi.software.os.mac.MacOperatingSystem
-
getSessions
- Specified by:
getSessionsin interfaceoshi.software.os.OperatingSystem- Overrides:
getSessionsin classoshi.software.os.mac.MacOperatingSystem
-
queryAllProcesses
- Overrides:
queryAllProcessesin classoshi.software.os.mac.MacOperatingSystem
-
getProcess
public oshi.software.os.OSProcess getProcess(int pid) - Specified by:
getProcessin interfaceoshi.software.os.OperatingSystem- Overrides:
getProcessin classoshi.software.os.mac.MacOperatingSystem
-
getProcessId
public int getProcessId()- Specified by:
getProcessIdin interfaceoshi.software.os.OperatingSystem- Overrides:
getProcessIdin classoshi.software.os.mac.MacOperatingSystem
-
getProcessCount
public int getProcessCount()- Specified by:
getProcessCountin interfaceoshi.software.os.OperatingSystem- Overrides:
getProcessCountin classoshi.software.os.mac.MacOperatingSystem
-
getThreadCount
public int getThreadCount()- Specified by:
getThreadCountin interfaceoshi.software.os.OperatingSystem- Overrides:
getThreadCountin classoshi.software.os.mac.MacOperatingSystem
-
getSystemBootTime
public long getSystemBootTime()- Specified by:
getSystemBootTimein interfaceoshi.software.os.OperatingSystem- Overrides:
getSystemBootTimein classoshi.software.os.mac.MacOperatingSystem
-
getNetworkParams
public oshi.software.os.NetworkParams getNetworkParams()- Specified by:
getNetworkParamsin interfaceoshi.software.os.OperatingSystem- Overrides:
getNetworkParamsin classoshi.software.os.mac.MacOperatingSystem
-
getDesktopWindows
- Specified by:
getDesktopWindowsin interfaceoshi.software.os.OperatingSystem- Overrides:
getDesktopWindowsin classoshi.software.os.mac.MacOperatingSystem
-