package com.wgcloud.entity;
|
|
import java.util.Date;
|
|
/**
|
* @version v3.3
|
* @ClassName:AppInfo.java
|
* @author: http://www.wgstart.com
|
* @date: 2021年1月16日
|
* @Description: app进程信息
|
* @Copyright: 2019-2021 wgcloud. All rights reserved.
|
*/
|
public class AppInfo extends BaseEntity {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
|
/**
|
* host名称
|
*/
|
private String hostname;
|
|
/**
|
* 应用进程ID,appType为1时候,存的进程id号,为2进程pid文件,为3进程名称
|
*/
|
private String appPid;
|
|
/**
|
* 进程获取途径,1进程id号,2进程pid文件,3进程名称
|
*/
|
private String appType;
|
|
/**
|
* 进程名称
|
*/
|
private String appName;
|
|
/**
|
* 进程使用的线程数
|
*/
|
private String threadsNum;
|
|
/**
|
* 内存使用率
|
*/
|
private Double memPer;
|
|
/**
|
* cpu使用率
|
*/
|
private Double cpuPer;
|
|
|
/**
|
* 进程状态,1正常,2下线
|
*/
|
private String state;
|
|
/**
|
* 1启用监控2停止监控
|
*/
|
private String active;
|
|
/**
|
* 读取MB
|
*/
|
private String readBytes;
|
|
/**
|
* 写入MB
|
*/
|
private String writesBytes;
|
|
//累积告警次数,页面显示用,数据库无此字段
|
private Integer warnCount;
|
|
//累积告警次数查询关键字,页面显示用,数据库无此字段
|
private String warnQueryWd;
|
|
//所属用户账号,页面显示用,数据库无此字段
|
private String account;
|
|
/**
|
* 创建时间
|
*/
|
private Date createTime;
|
|
/**
|
* agent采集的PID
|
*/
|
private String gatherPid;
|
|
/**
|
* 分组ID
|
*/
|
private String groupId;
|
|
/**
|
* 进程创建时间(采集获取),格式:yyyy-MM-dd HH:mm:ss
|
*/
|
private String appTimes;
|
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
|
public String getAppPid() {
|
return appPid;
|
}
|
|
public void setAppPid(String appPid) {
|
this.appPid = appPid;
|
}
|
|
|
public String getHostname() {
|
return hostname;
|
}
|
|
public void setHostname(String hostname) {
|
this.hostname = hostname;
|
}
|
|
public String getAppName() {
|
return appName;
|
}
|
|
public void setAppName(String appName) {
|
this.appName = appName;
|
}
|
|
public Double getMemPer() {
|
return memPer;
|
}
|
|
public void setMemPer(Double memPer) {
|
this.memPer = memPer;
|
}
|
|
public Double getCpuPer() {
|
return cpuPer;
|
}
|
|
public void setCpuPer(Double cpuPer) {
|
this.cpuPer = cpuPer;
|
}
|
|
public String getAppType() {
|
return appType;
|
}
|
|
public void setAppType(String appType) {
|
this.appType = appType;
|
}
|
|
public String getState() {
|
return state;
|
}
|
|
public void setState(String state) {
|
this.state = state;
|
}
|
|
public String getActive() {
|
return active;
|
}
|
|
public void setActive(String active) {
|
this.active = active;
|
}
|
|
public String getReadBytes() {
|
return readBytes;
|
}
|
|
public void setReadBytes(String readBytes) {
|
this.readBytes = readBytes;
|
}
|
|
public String getWritesBytes() {
|
return writesBytes;
|
}
|
|
public void setWritesBytes(String writesBytes) {
|
this.writesBytes = writesBytes;
|
}
|
|
public Integer getWarnCount() {
|
return warnCount;
|
}
|
|
public void setWarnCount(Integer warnCount) {
|
this.warnCount = warnCount;
|
}
|
|
public String getThreadsNum() {
|
return threadsNum;
|
}
|
|
public void setThreadsNum(String threadsNum) {
|
this.threadsNum = threadsNum;
|
}
|
|
public String getGatherPid() {
|
return gatherPid;
|
}
|
|
public void setGatherPid(String gatherPid) {
|
this.gatherPid = gatherPid;
|
}
|
|
public String getWarnQueryWd() {
|
return warnQueryWd;
|
}
|
|
public void setWarnQueryWd(String warnQueryWd) {
|
this.warnQueryWd = warnQueryWd;
|
}
|
|
public String getGroupId() {
|
return groupId;
|
}
|
|
public void setGroupId(String groupId) {
|
this.groupId = groupId;
|
}
|
|
public String getAccount() {
|
return account;
|
}
|
|
public void setAccount(String account) {
|
this.account = account;
|
}
|
|
public String getAppTimes() {
|
return appTimes;
|
}
|
|
public void setAppTimes(String appTimes) {
|
this.appTimes = appTimes;
|
}
|
}
|