Name
OperatingSystemMXBean
Synopsis
This MXBean interface allows queries of the operating system name, version, and CPU architecture as well as the number of available CPUs.
public interface OperatingSystemMXBean { // Public Instance Methods String getArch( ); int getAvailableProcessors( ); String getName( ); String getVersion( ); }
Returned By
ManagementFactory.getOperatingSystemMXBean( )
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.