6437b6bf35
扩展NdmServerDiagInfo数据类型,新增网卡和IP信息字段,并在服务器诊断面板展示相关网络状态详情
41 lines
1.2 KiB
TypeScript
41 lines
1.2 KiB
TypeScript
export interface NdmServerDiagInfo {
|
|
[key: string]: any;
|
|
commInfo?: {
|
|
CPU使用率?: string;
|
|
内存使用率?: string;
|
|
磁盘使用率?: string;
|
|
系统运行时间?: string;
|
|
};
|
|
ethInfo?: {
|
|
adminStatus?: string; // '1'
|
|
desc?: string; // 'Intel Corporation I350 Gigabit Network Connection'
|
|
ifType?: string; // '6'
|
|
inDiscards?: string; // '6707634'
|
|
inErrors?: string; // '0'
|
|
inNUcastPkts?: string; // '8991944'
|
|
inOctets?: string; // '4220524983'
|
|
inUcastPkts?: string; // '2342740610'
|
|
inUnknownProtos?: string; // '0'
|
|
index?: string; // '2'
|
|
lastChange?: string; // '0:03:15.26'
|
|
mTU?: string; // '1500'
|
|
macAddress?: string; // 'e8:78:ee:f6:8d:98'
|
|
operStatus?: string; // '1'
|
|
outDiscards?: string; // '0'
|
|
outErrors?: string; // '0'
|
|
outNUcastPkts?: string; // '0'
|
|
outOctets?: string; // '1415770066'
|
|
outQLen?: string; // '0'
|
|
outUcastPkts?: string; // '3335494729'
|
|
specific?: string; // '0.0'
|
|
speed?: string; // '1000000000'
|
|
};
|
|
ipInfo?: {
|
|
broadcastAddress?: string; // '1'
|
|
iPAddress?: string; // '10.14.1.8'
|
|
index?: string; // '2'
|
|
mASK?: string; // '255.255.255.0'
|
|
reasmMaxSize?: string; // '0'
|
|
};
|
|
}
|