Uses of Class
oshi.util.tuples.Pair
-
Packages that use Pair Package Description oshi.driver.linux Provides functions to query Linux informationoshi.driver.unix Provides functions to query information common to all unix systemsoshi.driver.unix.aix Provides functions to query information on AIXoshi.driver.unix.openbsd.disk Provides functions to query OpenBSD informationoshi.driver.unix.solaris Provides functions to query Solaris informationoshi.driver.unix.solaris.kstat Provides functions to query Solaris kstat informationoshi.driver.windows.perfmon Provides functions to query counters in windows performance monitor (or WMI counter tables)oshi.driver.windows.registry Provides functions to query data in Windows Registryoshi.driver.windows.wmi Provides functions to query properties in WMI classesoshi.hardware.platform.linux Provides information about hardware such as Memory, Power Sources, and Processor on Linux systemsoshi.hardware.platform.mac Provides information about hardware such as Memory, Power Sources, and Processor on Mac systemsoshi.hardware.platform.unix.aix Provides information about hardware such as Memory, Power Sources, and Processor on AIX systemsoshi.hardware.platform.unix.openbsd Provides information about hardware such as Memory, Power Sources, and Processor on OpenBSD systemsoshi.hardware.platform.unix.solaris Provides information about hardware such as Memory, Power Sources, and Processor on Solaris systemsoshi.hardware.platform.windows Provides information about hardware such as Memory, Power Sources, and Processor on Windows systemsoshi.software.common Provides abstract classes for common codeoshi.software.os.linux Provides information about Software and OS on Linuxoshi.software.os.mac Provides information about Software and OS on macOSoshi.software.os.unix.aix Provides information about Software and OS on AIXoshi.software.os.unix.freebsd Provides information about Software and OS on FreeBSDoshi.software.os.unix.openbsd Provides information about Software and OS on OpenBSDoshi.software.os.unix.solaris Provides information about Software and OS on Solarisoshi.software.os.windows Provides information about Software and OS on Windowsoshi.util Provides utilities for parsing, formatting, and other accessoshi.util.platform.windows Provides utilities for Windows. -
-
Uses of Pair in oshi.driver.linux
Methods in oshi.driver.linux that return Pair Modifier and Type Method Description static Pair<java.lang.String,java.lang.String>
Dmidecode. queryBiosNameRev()
Query the name and revision from dmidecode -
Uses of Pair in oshi.driver.unix
Methods in oshi.driver.unix that return Pair Modifier and Type Method Description private static Pair<byte[],java.lang.Integer>
NetStat. parseIP(java.lang.String s)
static Pair<java.lang.Long,java.lang.Long>
NetStat. queryTcpnetstat()
Query netstat to obtain number of established TCP connections -
Uses of Pair in oshi.driver.unix.aix
Methods in oshi.driver.unix.aix that return Pair Modifier and Type Method Description static Pair<java.util.List<java.lang.String>,java.util.Map<java.lang.String,java.lang.String>>
PsInfo. queryArgsEnv(int pid, AixLibc.AixPsInfo psinfo)
Read the argument and environment strings from process address spacestatic Pair<java.lang.String,java.lang.String>
Lscfg. queryModelSerial(java.lang.String device)
Querylscfg -vl device
to get hardware infoMethods in oshi.driver.unix.aix that return types with arguments of type Pair Modifier and Type Method Description static java.util.Map<java.lang.String,Pair<java.lang.Integer,java.lang.Integer>>
Ls. queryDeviceMajorMinor()
Queryls
to get parition infostatic java.util.Map<java.lang.Integer,Pair<java.lang.Integer,java.lang.Integer>>
Lssrad. queryNodesPackages()
Querylssrad
to get numa node and physical package infoMethod parameters in oshi.driver.unix.aix with type arguments of type Pair Modifier and Type Method Description private static java.util.List<HWPartition>
Lspv. computeLogicalVolumes(java.lang.String device, java.util.Map<java.lang.String,Pair<java.lang.Integer,java.lang.Integer>> majMinMap)
static java.util.List<HWPartition>
Lspv. queryLogicalVolumes(java.lang.String device, java.util.Map<java.lang.String,Pair<java.lang.Integer,java.lang.Integer>> majMinMap)
Querylspv
to get partition info, or return a cached value. -
Uses of Pair in oshi.driver.unix.openbsd.disk
Methods in oshi.driver.unix.openbsd.disk that return Pair Modifier and Type Method Description private static Pair<java.lang.Integer,java.lang.Integer>
Disklabel. getMajorMinor(java.lang.String diskName, java.lang.String name)
-
Uses of Pair in oshi.driver.unix.solaris
Methods in oshi.driver.unix.solaris that return Pair Modifier and Type Method Description static Pair<java.util.List<java.lang.String>,java.util.Map<java.lang.String,java.lang.String>>
PsInfo. queryArgsEnv(int pid, SolarisLibc.SolarisPsInfo psinfo)
Read the argument and environment strings from process address space -
Uses of Pair in oshi.driver.unix.solaris.kstat
Methods in oshi.driver.unix.solaris.kstat that return Pair Modifier and Type Method Description static Pair<java.lang.Long,java.lang.Long>
SystemPages. queryAvailableTotal()
Queries thesystem_pages
kstat and returns available and physical memoryprivate static Pair<java.lang.Long,java.lang.Long>
SystemPages. queryAvailableTotal2()
-
Uses of Pair in oshi.driver.windows.perfmon
Methods in oshi.driver.windows.perfmon that return Pair Modifier and Type Method Description static Pair<java.util.List<java.lang.String>,java.util.Map<PhysicalDisk.PhysicalDiskProperty,java.util.List<java.lang.Long>>>
PhysicalDisk. queryDiskCounters()
Returns physical disk performance counters.static Pair<java.util.List<java.lang.String>,java.util.Map<ProcessorInformation.ProcessorFrequencyProperty,java.util.List<java.lang.Long>>>
ProcessorInformation. queryFrequencyCounters()
Returns processor frequency counters.static Pair<java.util.List<java.lang.String>,java.util.Map<ProcessInformation.HandleCountProperty,java.util.List<java.lang.Long>>>
ProcessInformation. queryHandles()
Returns handle countersstatic Pair<java.util.List<java.lang.String>,java.util.Map<ProcessInformation.IdleProcessorTimeProperty,java.util.List<java.lang.Long>>>
ProcessInformation. queryIdleProcessCounters()
Returns cooked idle process performance counters.private static Pair<java.lang.Long,java.lang.Long>
LoadAverage. queryNonIdleTicks()
static Pair<java.util.List<java.lang.String>,java.util.Map<ProcessInformation.ProcessPerformanceProperty,java.util.List<java.lang.Long>>>
ProcessInformation. queryProcessCounters()
Returns process counters.static Pair<java.util.List<java.lang.String>,java.util.Map<ProcessorInformation.ProcessorUtilityTickCountProperty,java.util.List<java.lang.Long>>>
ProcessorInformation. queryProcessorCapacityCounters()
Returns processor capacity performance counters.static Pair<java.util.List<java.lang.String>,java.util.Map<ProcessorInformation.ProcessorTickCountProperty,java.util.List<java.lang.Long>>>
ProcessorInformation. queryProcessorCounters()
Returns processor performance counters.static Pair<java.util.List<java.lang.String>,java.util.Map<ThreadInformation.ThreadPerformanceProperty,java.util.List<java.lang.Long>>>
ThreadInformation. queryThreadCounters()
Returns thread counters.static Pair<java.util.List<java.lang.String>,java.util.Map<ThreadInformation.ThreadPerformanceProperty,java.util.List<java.lang.Long>>>
ThreadInformation. queryThreadCounters(java.lang.String name, int threadNum)
Returns thread counters filtered to the specified process name and thread. -
Uses of Pair in oshi.driver.windows.registry
Methods in oshi.driver.windows.registry that return Pair Modifier and Type Method Description private static <T extends java.lang.Enum<T> & PerfCounterWildcardQuery.PdhCounterWildcardProperty>
Pair<java.lang.Integer,java.util.EnumMap<T,java.lang.Integer>>HkeyPerformanceDataUtil. getCounterIndices(java.lang.String objectName, java.lang.Class<T> counterEnum)
Looks up the counter index values for the given counter object and the enum of counter names. -
Uses of Pair in oshi.driver.windows.wmi
Fields in oshi.driver.windows.wmi with type parameters of type Pair Modifier and Type Field Description private java.util.Map<java.lang.Integer,Pair<java.lang.Long,java.lang.String>>
Win32ProcessCached. commandLineCache
-
Uses of Pair in oshi.hardware.platform.linux
Fields in oshi.hardware.platform.linux with type parameters of type Pair Modifier and Type Field Description private java.util.function.Supplier<Pair<java.lang.Long,java.lang.Long>>
LinuxGlobalMemory. availTotal
private java.util.function.Supplier<Pair<java.lang.String,java.lang.String>>
LinuxFirmware. biosNameRev
private java.util.function.Supplier<Pair<java.lang.Long,java.lang.Long>>
LinuxVirtualMemory. inOut
Methods in oshi.hardware.platform.linux that return Pair Modifier and Type Method Description private static Pair<java.lang.Long,java.lang.Long>
LinuxVirtualMemory. queryVmStat()
private static Pair<java.lang.Long,java.lang.Long>
LinuxGlobalMemory. readMemInfo()
Updates instance variables from reading /proc/meminfo. -
Uses of Pair in oshi.hardware.platform.mac
Fields in oshi.hardware.platform.mac with type parameters of type Pair Modifier and Type Field Description private java.util.function.Supplier<Pair<java.lang.Long,java.lang.Long>>
MacVirtualMemory. inOut
private java.util.function.Supplier<Pair<java.lang.Long,java.lang.Long>>
MacVirtualMemory. usedTotal
Methods in oshi.hardware.platform.mac that return Pair Modifier and Type Method Description private static Pair<java.lang.Long,java.lang.Long>
MacVirtualMemory. querySwapUsage()
private static Pair<java.lang.Long,java.lang.Long>
MacVirtualMemory. queryVmStat()
-
Uses of Pair in oshi.hardware.platform.unix.aix
Method parameters in oshi.hardware.platform.unix.aix with type arguments of type Pair Modifier and Type Method Description private static AixHWDiskStore
AixHWDiskStore. createStore(java.lang.String diskName, java.lang.String model, java.lang.String serial, long size, java.util.function.Supplier<com.sun.jna.platform.unix.aix.Perfstat.perfstat_disk_t[]> diskStats, java.util.Map<java.lang.String,Pair<java.lang.Integer,java.lang.Integer>> majMinMap)
-
Uses of Pair in oshi.hardware.platform.unix.openbsd
Fields in oshi.hardware.platform.unix.openbsd with type parameters of type Pair Modifier and Type Field Description private java.util.function.Supplier<Pair<java.lang.Long,java.lang.Long>>
OpenBsdCentralProcessor. vmStats
Methods in oshi.hardware.platform.unix.openbsd that return Pair Modifier and Type Method Description private static Pair<java.lang.Long,java.lang.Long>
OpenBsdCentralProcessor. queryVmStats()
-
Uses of Pair in oshi.hardware.platform.unix.solaris
Fields in oshi.hardware.platform.unix.solaris with type parameters of type Pair Modifier and Type Field Description private java.util.function.Supplier<Pair<java.lang.Long,java.lang.Long>>
SolarisGlobalMemory. availTotal
private java.util.function.Supplier<Pair<java.lang.Long,java.lang.Long>>
SolarisVirtualMemory. availTotal
private java.util.function.Supplier<Pair<java.lang.Long,java.lang.Long>>
SolarisVirtualMemory. usedTotal
Methods in oshi.hardware.platform.unix.solaris that return Pair Modifier and Type Method Description private static Pair<java.lang.Long,java.lang.Long>
SolarisVirtualMemory. querySwapInfo()
-
Uses of Pair in oshi.hardware.platform.windows
Fields in oshi.hardware.platform.windows with type parameters of type Pair Modifier and Type Field Description private java.util.function.Supplier<Pair<java.lang.String,java.lang.String>>
WindowsComputerSystem. manufacturerModel
private java.util.Map<java.lang.String,java.util.List<Pair<java.lang.String,java.lang.Long>>>
WindowsHWDiskStore.PartitionMaps. partitionToLogicalDriveMap
private java.util.function.Supplier<Pair<java.util.List<java.lang.String>,java.util.Map<ProcessorInformation.ProcessorUtilityTickCountProperty,java.util.List<java.lang.Long>>>>
WindowsCentralProcessor. processorUtilityCounters
private java.util.function.Supplier<Pair<java.lang.String,java.lang.String>>
WindowsComputerSystem. serialNumberUUID
private java.util.function.Supplier<Pair<java.lang.Long,java.lang.Long>>
WindowsVirtualMemory. swapInOut
Methods in oshi.hardware.platform.windows that return Pair Modifier and Type Method Description private static Pair<java.lang.String,java.lang.String>
WindowsComputerSystem. queryManufacturerModel()
private static Pair<java.lang.Long,java.lang.Long>
WindowsVirtualMemory. queryPageSwaps()
private static Pair<java.util.List<java.lang.String>,java.util.Map<ProcessorInformation.ProcessorUtilityTickCountProperty,java.util.List<java.lang.Long>>>
WindowsCentralProcessor. queryProcessorUtilityCounters()
private static Pair<java.lang.String,java.lang.String>
WindowsComputerSystem. querySystemSerialNumberUUID()
-
Uses of Pair in oshi.software.common
Fields in oshi.software.common with type parameters of type Pair Modifier and Type Field Description private java.util.function.Supplier<Pair<java.lang.String,OperatingSystem.OSVersionInfo>>
AbstractOperatingSystem. familyVersionInfo
Methods in oshi.software.common that return Pair Modifier and Type Method Description protected abstract Pair<java.lang.String,OperatingSystem.OSVersionInfo>
AbstractOperatingSystem. queryFamilyVersionInfo()
-
Uses of Pair in oshi.software.os.linux
Methods in oshi.software.os.linux that return Pair Modifier and Type Method Description private static Pair<java.lang.Integer,java.lang.Integer>
LinuxInternetProtocolStats. parseHexColonHex(java.lang.String s)
private static Pair<byte[],java.lang.Integer>
LinuxInternetProtocolStats. parseIpAddr(java.lang.String s)
Pair<java.lang.String,OperatingSystem.OSVersionInfo>
LinuxOperatingSystem. queryFamilyVersionInfo()
-
Uses of Pair in oshi.software.os.mac
Fields in oshi.software.os.mac with type parameters of type Pair Modifier and Type Field Description private java.util.function.Supplier<Pair<java.util.List<java.lang.String>,java.util.Map<java.lang.String,java.lang.String>>>
MacOSProcess. argsEnviron
private java.util.function.Supplier<Pair<java.lang.Long,java.lang.Long>>
MacInternetProtocolStats. establishedv4v6
Methods in oshi.software.os.mac that return Pair Modifier and Type Method Description private Pair<java.util.List<java.lang.String>,java.util.Map<java.lang.String,java.lang.String>>
MacOSProcess. queryArgsAndEnvironment()
Pair<java.lang.String,OperatingSystem.OSVersionInfo>
MacOperatingSystem. queryFamilyVersionInfo()
-
Uses of Pair in oshi.software.os.unix.aix
Fields in oshi.software.os.unix.aix with type parameters of type Pair Modifier and Type Field Description private java.util.function.Supplier<Pair<java.util.List<java.lang.String>,java.util.Map<java.lang.String,java.lang.String>>>
AixOSProcess. cmdEnv
Methods in oshi.software.os.unix.aix that return Pair Modifier and Type Method Description private Pair<java.util.List<java.lang.String>,java.util.Map<java.lang.String,java.lang.String>>
AixOSProcess. queryCommandlineEnvironment()
Pair<java.lang.String,OperatingSystem.OSVersionInfo>
AixOperatingSystem. queryFamilyVersionInfo()
Methods in oshi.software.os.unix.aix with parameters of type Pair Modifier and Type Method Description private boolean
AixOSProcess. updateAttributes(Pair<java.lang.Long,java.lang.Long> userSysCpuTime)
Constructors in oshi.software.os.unix.aix with parameters of type Pair Constructor Description AixOSProcess(int pid, Pair<java.lang.Long,java.lang.Long> userSysCpuTime, java.util.function.Supplier<com.sun.jna.platform.unix.aix.Perfstat.perfstat_process_t[]> procCpu, AixOperatingSystem os)
-
Uses of Pair in oshi.software.os.unix.freebsd
Fields in oshi.software.os.unix.freebsd with type parameters of type Pair Modifier and Type Field Description private java.util.function.Supplier<Pair<java.lang.Long,java.lang.Long>>
FreeBsdInternetProtocolStats. establishedv4v6
Methods in oshi.software.os.unix.freebsd that return Pair Modifier and Type Method Description Pair<java.lang.String,OperatingSystem.OSVersionInfo>
FreeBsdOperatingSystem. queryFamilyVersionInfo()
-
Uses of Pair in oshi.software.os.unix.openbsd
Methods in oshi.software.os.unix.openbsd that return Pair Modifier and Type Method Description Pair<java.lang.String,OperatingSystem.OSVersionInfo>
OpenBsdOperatingSystem. queryFamilyVersionInfo()
-
Uses of Pair in oshi.software.os.unix.solaris
Fields in oshi.software.os.unix.solaris with type parameters of type Pair Modifier and Type Field Description private static java.util.function.Supplier<Pair<java.lang.Long,java.lang.Long>>
SolarisOperatingSystem. BOOT_UPTIME
private java.util.function.Supplier<Pair<java.util.List<java.lang.String>,java.util.Map<java.lang.String,java.lang.String>>>
SolarisOSProcess. cmdEnv
private static java.util.function.Supplier<Pair<java.lang.Long,java.lang.Long>>
SolarisFileSystem. FILE_DESC
Methods in oshi.software.os.unix.solaris that return Pair Modifier and Type Method Description private static Pair<java.lang.Long,java.lang.Long>
SolarisOperatingSystem. queryBootAndUptime()
private Pair<java.util.List<java.lang.String>,java.util.Map<java.lang.String,java.lang.String>>
SolarisOSProcess. queryCommandlineEnvironment()
Pair<java.lang.String,OperatingSystem.OSVersionInfo>
SolarisOperatingSystem. queryFamilyVersionInfo()
private static Pair<java.lang.Long,java.lang.Long>
SolarisFileSystem. queryFileDescriptors()
-
Uses of Pair in oshi.software.os.windows
Fields in oshi.software.os.windows with type parameters of type Pair Modifier and Type Field Description private java.util.function.Supplier<Pair<java.lang.String,java.lang.String>>
WindowsOSProcess. groupInfo
private java.util.function.Supplier<Pair<java.lang.String,java.lang.String>>
WindowsOSProcess. userInfo
Methods in oshi.software.os.windows that return Pair Modifier and Type Method Description Pair<java.lang.String,OperatingSystem.OSVersionInfo>
WindowsOperatingSystem. queryFamilyVersionInfo()
private Pair<java.lang.String,java.lang.String>
WindowsOSProcess. queryGroupInfo()
private Pair<java.lang.String,java.lang.String>
WindowsOSProcess. queryUserInfo()
-
Uses of Pair in oshi.util
Methods in oshi.util that return Pair Modifier and Type Method Description static Pair<java.lang.String,java.lang.String>
ParseUtil. parseLspciMachineReadable(java.lang.String line)
Parse a Linux lspci machine readble line to its name and id -
Uses of Pair in oshi.util.platform.windows
Methods in oshi.util.platform.windows that return Pair Modifier and Type Method Description static <T extends java.lang.Enum<T>>
Pair<java.util.List<java.lang.String>,java.util.Map<T,java.util.List<java.lang.Long>>>PerfCounterWildcardQuery. queryInstancesAndValues(java.lang.Class<T> propertyEnum, java.lang.String perfObject, java.lang.String perfWmiClass)
Query the a Performance Counter using PDH, with WMI backup on failure, for values corresponding to the property enum.static <T extends java.lang.Enum<T>>
Pair<java.util.List<java.lang.String>,java.util.Map<T,java.util.List<java.lang.Long>>>PerfCounterWildcardQuery. queryInstancesAndValues(java.lang.Class<T> propertyEnum, java.lang.String perfObject, java.lang.String perfWmiClass, java.lang.String customFilter)
Query the a Performance Counter using PDH, with WMI backup on failure, for values corresponding to the property enum.static <T extends java.lang.Enum<T>>
Pair<java.util.List<java.lang.String>,java.util.Map<T,java.util.List<java.lang.Long>>>PerfCounterWildcardQuery. queryInstancesAndValuesFromPDH(java.lang.Class<T> propertyEnum, java.lang.String perfObject)
Query the a Performance Counter using PDH for values corresponding to the property enum.static <T extends java.lang.Enum<T>>
Pair<java.util.List<java.lang.String>,java.util.Map<T,java.util.List<java.lang.Long>>>PerfCounterWildcardQuery. queryInstancesAndValuesFromPDH(java.lang.Class<T> propertyEnum, java.lang.String perfObject, java.lang.String customFilter)
Query the a Performance Counter using PDH for values corresponding to the property enum.static <T extends java.lang.Enum<T>>
Pair<java.util.List<java.lang.String>,java.util.Map<T,java.util.List<java.lang.Long>>>PerfCounterWildcardQuery. queryInstancesAndValuesFromWMI(java.lang.Class<T> propertyEnum, java.lang.String wmiClass)
Query the a Performance Counter using WMI for values corresponding to the property enum.
-