PracticeDev/study_clang/Mimic/judge_sysinfo/CJudgeSysInfo.h

44 lines
734 B
C++

/*************************************************************************
> File Name: CJudgeSysInfo.h
> Author: SongTL
> Mail: songtianlun@comleader.com.cn
> Created Time: 2020年07月21日 星期二 11时44分09秒
************************************************************************/
#include<iostream>
using namespace std;
struct Msg
{
uint uiType;
uint uiCpuRate;
uint uiMemRate;
uint uiTcpEstablishNum;
uint uiRunningProcessNum;
uint uiCronNum;
char szPasswdMd5[16];
};
struct stProcessState
{
uint uiType;
uint uiProcessId;
uint uiProcessState;
};
struct stFileNum
{
uint uiType;
uint szPath[32];
uint uiFileNum;
};
struct stLogMsg
{
uint uiType;
char szLogFile[32];
char szMsg[128];
};
class