top.doudou.common.tool.system.MonitorDto Maven / Gradle / Ivy
package top.doudou.common.tool.system;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
/**
* @author 傻男人<[email protected]>
* @Date: 2020/4/20
* @Description: 系统监控信息Vo
*/
@Data
@ApiModel("系统监控信息")
public class MonitorDto implements Serializable {
private static final long serialVersionUID = -5716515988505218320L;
@ApiModelProperty("操作系统")
private String os;
@ApiModelProperty("程序启动时间")
private String runTime;
@ApiModelProperty("java版本")
private String jvmJavaVersion;
//jvm
@ApiModelProperty("jvm内存的初始大小")
private String jvmHeapInit;
@ApiModelProperty("jvm最大可用内存量")
private String jvmHeapMax;
@ApiModelProperty("jvm已使用的内存量")
private String jvmHeapUsed;
@ApiModelProperty("jvm已申请的内存量")
private String jvmHeapCommitted;
@ApiModelProperty("jvm内存的初始大小")
private String jvmNonHeapInit;
@ApiModelProperty("jvm最大可用内存量")
private String jvmNonHeapMax;
@ApiModelProperty("jvm已使用的内存量")
private String jvmNonHeapUsed;
@ApiModelProperty("jvm已申请的内存量")
private String jvmNonHeapCommitted;
//硬件信息
@ApiModelProperty("CPU信息")
private String cpuInfo;
@ApiModelProperty("CPU使用率")
private String cpuUseRate;
@ApiModelProperty("系统内存总量")
private String ramTotal;
@ApiModelProperty("已使用的系统内存量")
private String ramUsed;
@ApiModelProperty("系统磁盘总量")
private String diskTotal;
@ApiModelProperty("已使用的系统磁盘量")
private String diskUsed;
}