SystemUtil
Overview
This tool is a wrapper for System.getProperty(name)
. Through this tool, the following information can be obtained:
Java Virtual Machine Specification Information
SystemUtil.getJvmSpecInfo();
Java Virtual Machine Implementation Information
SystemUtil.getJvmInfo();
Java Specification Information
SystemUtil.getJavaSpecInfo();
Java Implementation Information
SystemUtil.getJavaInfo();
Java Runtime Information
SystemUtil.getJavaRuntimeInfo();
System Information
SystemUtil.getOsInfo();
User Information
SystemUtil.getUserInfo();
Current Host Network Address Information
SystemUtil.getHostInfo();
Runtime Information, including total memory size, used size, available size, etc.
SystemUtil.getRuntimeInfo();