1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-21 01:09:17 +08:00

71 lines
1.6 KiB
Go
Raw Normal View History

2022-11-24 23:56:48 +08:00
export namespace Dashboard {
export interface BaseInfo {
haloID: number;
dateeaseID: number;
jumpserverID: number;
metersphereID: number;
kubeoperatorID: number;
kubepiID: number;
websiteNumber: number;
databaseNumber: number;
cronjobNumber: number;
appInstalldNumber: number;
hostname: string;
os: string;
platform: string;
platformFamily: string;
platformVersion: string;
kernelArch: string;
kernelVersion: string;
virtualizationSystem: string;
cpuCores: number;
cpuLogicalCores: number;
cpuModelName: string;
currentInfo: CurrentInfo;
}
export interface CurrentInfo {
uptime: number;
timeSinceUptime: string;
2022-11-24 23:56:48 +08:00
procs: number;
load1: number;
load5: number;
load15: number;
loadUsagePercent: number;
cpuPercent: Array<number>;
cpuUsedPercent: number;
cpuUsed: number;
cpuTotal: number;
memoryTotal: number;
memoryAvailable: number;
memoryUsed: number;
MemoryUsedPercent: number;
ioReadBytes: number;
ioWriteBytes: number;
ioTime: number;
ioCount: number;
total: number;
free: number;
used: number;
usedPercent: number;
inodesTotal: number;
inodesUsed: number;
inodesFree: number;
inodesUsedPercent: number;
netBytesSent: number;
netBytesRecv: number;
shotTime: Date;
}
}