Uses of Class
oshi.util.tuples.Pair
Packages that use Pair
Package
Description
Provides functions to query information on AIX
Provides parsing utilities for BSD disk-related commands (e.g.
Provides common Windows performance monitor constants and definitions shared between JNA and FFM implementations.
Provides common Windows registry performance data POJOs shared between JNA and FFM implementations.
Provides information about hardware such as Memory, Power Sources, and Processor on Mac systems
Provides common Unix hardware implementations shared by JNA and FFM modules.
Provides information about hardware such as Memory, Power Sources, and Processor on NetBSD systems
Provides abstract base classes and pure-Java implementations for OpenBSD hardware, shared by the JNA and FFM modules.
Provides common implementations for Windows hardware information shared between JNA and FFM implementations.
Provides abstract classes for common code
Provides common (native-free) Linux operating system implementations shared by JNA and FFM modules.
Provides information about Software and OS on macOS
Provides shared abstract base classes for the
/proc-filesystem Unix operating systemsProvides abstract base classes and pure-Java implementations for AIX software, shared by the JNA and FFM modules.
Provides information about Software and OS on NetBSD
Provides abstract base classes and pure-Java implementations for Solaris/illumos software, shared by the JNA and FFM
modules.
Provides common implementations for Windows operating system information shared between JNA and FFM implementations.
Provides utilities for parsing, formatting, and other access
Provides non-native Linux driver utilities for querying system information.
Provides driver utilities common to unix systems that do not require native access
-
Uses of Pair in oshi.driver.common.unix.aix
Methods in oshi.driver.common.unix.aix that return PairModifier and TypeMethodDescriptionLscfg.queryModelSerial(String device) Querylscfg -vl deviceto get hardware infoMethods in oshi.driver.common.unix.aix that return types with arguments of type PairModifier and TypeMethodDescriptionQuerylsto get parition infoLssrad.queryNodesPackages()Querylssradto get numa node and physical package infoMethod parameters in oshi.driver.common.unix.aix with type arguments of type PairModifier and TypeMethodDescriptionstatic List<HWPartition> Querylspvto get partition info, or return a cached value. -
Uses of Pair in oshi.driver.common.unix.bsd.disk
Method parameters in oshi.driver.common.unix.bsd.disk with type arguments of type PairModifier and TypeMethodDescriptionDisklabel.parseDfFallback(String diskName, List<String> dfLines, BiFunction<String, String, Pair<Integer, Integer>> majorMinorLookup) Parsesdfoutput as a fallback whendisklabelreturns no partitions (typically because the caller lacks root privileges).Disklabel.parseDiskParams(String diskName, List<String> disklabelLines, BiFunction<String, String, Pair<Integer, Integer>> majorMinorLookup) Parsesdisklabel -noutput to extract disk metadata and partitions. -
Uses of Pair in oshi.driver.common.windows.perfmon
Methods in oshi.driver.common.windows.perfmon that return PairModifier and TypeMethodDescriptionPhysicalDisk.queryDiskCounters(PerfCounterQueryExecutor executor) Returns physical disk performance counters.ProcessorInformation.queryFrequencyCounters(PerfCounterQueryExecutor executor) Returns processor frequency counters.GpuInformation.queryGpuAdapterMemoryCounters(PerfCounterQueryExecutor executor) Queries GPU Adapter Memory counters for all instances.GpuInformation.queryGpuEngineCounters(PerfCounterQueryExecutor executor) Queries GPU Engine counters for all instances.ProcessInformation.queryIdleProcessCounters(PerfCounterQueryExecutor executor) Returns idle process counters (for load average calculation).PerfCounterQueryExecutor.queryInstancesAndValues(Class<T> propertyEnum, String perfObject, String perfWmiClass) Queries performance counter values for wildcard (multi-instance) counters.PerfCounterQueryExecutor.queryInstancesAndValues(Class<T> propertyEnum, String perfObject, String perfWmiClass, String customFilter) Queries performance counter values for wildcard counters with a custom instance filter.PerfCounterQueryExecutor.queryInstancesAndValuesFromPDH(Class<T> propertyEnum, String perfObject) Queries performance counter values from PDH only (no WMI fallback).PerfCounterQueryExecutor.queryInstancesAndValuesFromWMI(Class<T> propertyEnum, String perfWmiClass) Queries performance counter values from WMI directly (formatted/cooked data).LoadAverage.queryNonIdleTicks()Query the non-idle ticks from performance counters.ProcessInformation.queryProcessCounters(PerfCounterQueryExecutor executor) Returns process performance counters.ProcessorInformation.queryProcessorCapacityCounters(PerfCounterQueryExecutor executor) Returns processor capacity performance counters.ProcessorInformation.queryProcessorCounters(PerfCounterQueryExecutor executor) Returns processor performance counters.ProcessorInformation.queryProcessorPerformanceCounters(PerfCounterQueryExecutor executor) Returns processor performance percentage (cooked) from the WMI Formatted Data table.ThreadInformation.queryThreadCounters(PerfCounterQueryExecutor executor) Returns thread counters for all threads.ThreadInformation.queryThreadCounters(PerfCounterQueryExecutor executor, String name, int threadNum) Returns thread counters filtered to the specified process name and thread. -
Uses of Pair in oshi.driver.common.windows.registry
Methods in oshi.driver.common.windows.registry that return PairModifier and TypeMethodDescriptionHkeyPerformanceDataUtil.getCounterIndices(String objectName, Class<T> counterEnum, Map<String, Integer> counterIndexMap) Looks up the counter index values for the given counter object and the enum of counter names.Methods in oshi.driver.common.windows.registry with parameters of type PairModifier and TypeMethodDescriptionstatic Map<Integer, ProcessPerfCounterBlock> ProcessPerformanceData.buildProcessMapFromPerfCounters(Collection<Integer> pids, Pair<List<String>, Map<ProcessInformation.ProcessPerformanceProperty, List<Long>>> instanceValues) Builds a process map from performance counter query results.static Map<Integer, ThreadPerfCounterBlock> ThreadPerformanceData.buildThreadMapFromPerfCounters(Collection<Integer> pids, Pair<List<String>, Map<ThreadInformation.ThreadPerformanceProperty, List<Long>>> instanceValues) Builds a thread map from performance counter query results. -
Uses of Pair in oshi.hardware.common.platform.mac
Methods in oshi.hardware.common.platform.mac that return PairModifier and TypeMethodDescriptionMacVirtualMemory.querySwapUsage()Queries swap usage.MacVirtualMemory.queryVmStat()Queries virtual memory statistics. -
Uses of Pair in oshi.hardware.common.platform.unix
Methods in oshi.hardware.common.platform.unix that return PairModifier and TypeMethodDescriptionBsdCentralProcessor.queryVmStats()Reads the number of context switches and interrupts fromvmstat. -
Uses of Pair in oshi.hardware.common.platform.unix.netbsd
Methods in oshi.hardware.common.platform.unix.netbsd that return Pair -
Uses of Pair in oshi.hardware.common.platform.unix.openbsd
Methods in oshi.hardware.common.platform.unix.openbsd that return Pair -
Uses of Pair in oshi.hardware.common.platform.windows
Methods in oshi.hardware.common.platform.windows that return PairModifier and TypeMethodDescriptionWindowsGpuStats.queryGpuAdapterMemoryCounters()Queries GPU adapter memory performance counters.WindowsGpuStats.queryGpuEngineCounters()Queries GPU engine performance counters.protected abstract Pair<List<String>, Map<ProcessorInformation.ProcessorUtilityTickCountProperty, List<Long>>> WindowsCentralProcessor.queryProcessorCapacityCounters()Subclasses query the perfmon Processor Information capacity (utility) counters via their JNA or FFM driver.protected abstract Pair<List<String>, Map<ProcessorInformation.ProcessorTickCountProperty, List<Long>>> WindowsCentralProcessor.queryProcessorCounters()Subclasses query the perfmon Processor Information tick counters via their JNA or FFM driver.Methods in oshi.hardware.common.platform.windows that return types with arguments of type PairModifier and TypeMethodDescriptionWindowsHWDiskStore.PartitionMaps.getPartitionToLogicalDriveMap()Gets the partition-to-logical-drive map.Methods in oshi.hardware.common.platform.windows with parameters of type PairModifier and TypeMethodDescriptionprotected static WindowsHWDiskStore.DiskStatsWindowsHWDiskStore.populateDiskStats(String index, Pair<List<String>, Map<PhysicalDisk.PhysicalDiskProperty, List<Long>>> instanceValuePair) Populates a DiskStats object from performance counter data. -
Uses of Pair in oshi.software.common
Methods in oshi.software.common that return PairModifier and TypeMethodDescriptionprotected abstract Pair<String, OperatingSystem.OSVersionInfo> AbstractOperatingSystem.queryFamilyVersionInfo()Queries the OS family and version info. -
Uses of Pair in oshi.software.common.os.linux
Methods in oshi.software.common.os.linux that return Pair -
Uses of Pair in oshi.software.common.os.mac
Methods in oshi.software.common.os.mac that return Pair -
Uses of Pair in oshi.software.common.os.unix
Methods in oshi.software.common.os.unix that return Pair -
Uses of Pair in oshi.software.common.os.unix.aix
Methods in oshi.software.common.os.unix.aix that return PairModifier and TypeMethodDescriptionAixOSProcess.queryArgsEnv(int pid, AixPsInfo psinfo) Performs the address-space read for command-line arguments and environment variables.AixOSProcess.queryCommandlineEnvironment() -
Uses of Pair in oshi.software.common.os.unix.netbsd
Methods in oshi.software.common.os.unix.netbsd that return Pair -
Uses of Pair in oshi.software.common.os.unix.solaris
Methods in oshi.software.common.os.unix.solaris that return PairModifier and TypeMethodDescriptionSolarisOSProcess.queryArgsEnv()Reads this process's argument list and environment.SolarisOSProcess.queryCommandlineEnvironment()SolarisOperatingSystem.queryFamilyVersionInfo() -
Uses of Pair in oshi.software.common.os.windows
Methods in oshi.software.common.os.windows that return PairModifier and TypeMethodDescriptionWindowsOSProcess.defaultPair()Returns a default pair of unknown values.WindowsOSProcess.queryGroupInfo()Queries group account information for this process.WindowsOSProcess.queryUserInfo()Queries user account information for this process. -
Uses of Pair in oshi.util
Modifier and TypeMethodDescriptionParseUtil.parseDeviceIdToVendorProductIds(String deviceId) Parse a Windows DeviceID string to extract the vendor and product/device IDs as integers.ParseUtil.parseLspciMachineReadable(String line) Parse a Linux lspci machine readble line to its name and id -
Uses of Pair in oshi.util.driver.linux
Methods in oshi.util.driver.linux that return PairModifier and TypeMethodDescriptionDmidecode.queryBiosNameRev()Query the name and revision from dmidecode -
Uses of Pair in oshi.util.driver.unix
Methods in oshi.util.driver.unix that return PairModifier and TypeMethodDescriptionNetStat.queryTcpnetstat()Query netstat to obtain number of established TCP connections