- All Superinterfaces:
- OperatingSystemMXBean,- OperatingSystemMXBean,- OperatingSystemMXBean,- PlatformManagedObject,- UnixOperatingSystemMXBean
- All Known Implementing Classes:
- UnixExtendedOperatingSystem
Interface provides platform-specific management utilities on Unix and Unix-like
 operating systems.
- Since:
- 1.8
- 
Method SummaryModifier and TypeMethodDescriptionlongReturns the maximum number of file descriptors that can be opened in a process.longReturns the current number of file descriptors that are in opened state.Methods declared in interface com.ibm.lang.management.OperatingSystemMXBeangetCommittedVirtualMemorySize, getFreeSwapSpaceSize, getHardwareModel, getProcessCpuLoad, getProcessCpuTime, getProcessCpuTimeByNS, getProcessingCapacity, getProcessPhysicalMemorySize, getProcessPrivateMemorySize, getProcessVirtualMemorySize, getTotalPhysicalMemory, getTotalSwapSpaceSize, isHardwareEmulated, isProcessRunning, retrieveMemoryUsage, retrieveMemoryUsage, retrieveProcessorUsage, retrieveProcessorUsage, retrieveTotalProcessorUsage, retrieveTotalProcessorUsageMethods declared in interface com.sun.management.OperatingSystemMXBeangetCpuLoad, getFreeMemorySize, getFreePhysicalMemorySize, getSystemCpuLoad, getTotalMemorySize, getTotalPhysicalMemorySizeMethods declared in interface java.lang.management.OperatingSystemMXBeangetArch, getAvailableProcessors, getName, getSystemLoadAverage, getVersionMethods declared in interface java.lang.management.PlatformManagedObjectgetObjectName
- 
Method Details- 
getMaxFileDescriptorCountlong getMaxFileDescriptorCount()Returns the maximum number of file descriptors that can be opened in a process.- Specified by:
- getMaxFileDescriptorCountin interface- UnixOperatingSystemMXBean
- Returns:
- The maximum number of file descriptors that can be opened in a process or -1, if an error occurred while obtaining this. If the operating system doesn't have any limits configured, Long.MAX_VALUE is returned.
- Since:
- 1.8
 
- 
getOpenFileDescriptorCountlong getOpenFileDescriptorCount()Returns the current number of file descriptors that are in opened state.- Specified by:
- getOpenFileDescriptorCountin interface- UnixOperatingSystemMXBean
- Returns:
- The current number of file descriptors that are in opened state or -1, if an error occurred while obtaining this.
- Since:
- 1.8
 
 
-