查看面板数据简报
get_remote_services_system_overview
get_remote_services_system_overview(url, apikey)
返回类型:json
响应:
{
// ↓ 会返回的值及其解释:200(正常,并返回相应内容);400(请求参数不正确);403(无权限);500(服务器内部错误)
"status": 200,
"data": [
{
"version": "1.3.0",
"process": {
"cpu": 5625000,
"memory": 132437320,
"cwd": "D:\\Workspace\\MCSM\\MCSManager-Daemon"
},
"instance": {
"running": 1,
"total": 6
},
"system": {
"type": "Windows_NT",
"hostname": "R9000P-Suwings",
"platform": "win32",
"release": "10.0.22000",
"uptime": 410445,
"cwd": "D:\\Workspace\\MCSM\\MCSManager-Daemon",
"loadavg": [0, 0, 0],
"freemem": 5700775936,
"cpuUsage": 0.0490009222256379,
"memUsage": 0.6651475749266619,
"totalmem": 17024741376,
"processCpu": 0,
"processMem": 0
}
}
],
"time": 1643879914006
}
最后更新于