运行Java虚拟机的Unix操作系统的特定于平台的管理接口。
- 自JDK版本:
- 1.5
-
Method Summary
Modifier and TypeMethodDescriptionlong返回文件描述符的最大数量。long返回打开文件描述符的数量。Methods declared in interface com.sun.management.OperatingSystemMXBean
getCommittedVirtualMemorySize, getCpuLoad, getFreeMemorySize, getFreePhysicalMemorySize, getFreeSwapSpaceSize, getProcessCpuLoad, getProcessCpuTime, getSystemCpuLoad, getTotalMemorySize, getTotalPhysicalMemorySize, getTotalSwapSpaceSizeMethods declared in interface java.lang.management.OperatingSystemMXBean
getArch, getAvailableProcessors, getName, getSystemLoadAverage, getVersionMethods declared in interface java.lang.management.PlatformManagedObject
getObjectName
-
Method Details
-
getOpenFileDescriptorCount
long getOpenFileDescriptorCount()返回打开文件描述符的数量。- 返回:
- 打开文件描述符的数量。
-
getMaxFileDescriptorCount
long getMaxFileDescriptorCount()返回文件描述符的最大数量。- 返回:
- 文件描述符的最大数量。
-