package com.tsi.api.server.dto;

import lombok.Data;

@Data
public class SystemStatusDto {
    private String hostName;
    private String osType;
    private String osName;
    private String osVersion;
    private String osArch;
    private String kernelRelease;
    private String internalIp;
    private String externalIp;
    private long totalMem;
    private long swapMem;
    private long totalDisk;
    private int cpuCnt;
    private String upTimes;

    private long usedDisk;
    private int usedMem;
    private int freeMem;
    private int cacheMem;
    private int availableMem;
    private int usedSwap;
    private int tasks;
    private int threads;

    private float useDiskRate;      // calculate
    private float useMemRate;       // calculate
    private float realMemRate;      // calculate
    private float useSwapRate;      // calculate
    private float useCpuRate;
    private float loadAvg;          // load average
}
