com.litongjava.tio.utils.monitor.SystemInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tio-utils Show documentation
Show all versions of tio-utils Show documentation
t-io is a aio framework for java
package com.litongjava.tio.utils.monitor;
import java.io.File;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SystemInfo {
private int availableProcessors;
private double systemLoadAverage;
private long cpuUsage;
private long totalPhysicalMemorySize;
private long freePhysicalMemorySize;
private long usedMemory;
private long heapMemoryUsed;
private long heapMemoryMax;
private long nonHeapMemoryUsed;
private long nonHeapMemoryMax;
private String javaVersion;
private String jvmVendor;
private long jvmUptime;
private String osName;
private String osVersion;
private String osArch;
private File[] fileRoots;
}