付延余
2022-12-16 f0f8ee8c4a945adbc742d9bab69382b28ad311fb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
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;
    }
}