curl --location --request GET 'https://dev-api.inis.cn/api/monitor/real-time' \
--header 'mcp-stream: true' \
--header 'X-Forwarded-For: '
{
"msg": "string",
"code": 0,
"data": {
"cpu": {
"items": [
{
"value": 0,
"label": "string",
"number": 0,
"unit": "string"
}
],
"usageRate": {
"label": "string",
"unit": "string",
"value": 0
},
"physics": {
"label": "string",
"unit": "string",
"value": 0
},
"logical": {
"label": "string",
"unit": "string",
"value": 0
},
"model": "string"
},
"process": {
"current": {
"pid": 0,
"name": "string",
"memory": 0,
"memoryUnit": "string",
"memoryUsageRate": 0,
"cpuUsageRate": 0,
"threads": 0,
"openFiles": 0,
"createTime": 0
}
},
"memory": {
"items": [
{
"value": 0,
"label": "string",
"no": "string",
"unit": "string"
}
],
"usageRate": {
"label": "string",
"unit": "string",
"value": 0
}
},
"load": {
"items": [
{
"value": 0,
"label": "string",
"minute": 0,
"unit": "string"
}
],
"usageRate": {
"label": "string",
"unit": "string",
"value": 0
}
},
"goRoutine": {
"value": 0,
"label": "string",
"unit": "string"
},
"disk": {
"items": [
{
"mount": "string",
"type": "string",
"total": 0,
"used": 0,
"free": 0,
"usageRate": 0,
"unit": "string"
}
],
"usageRate": {
"label": "string",
"unit": "string",
"value": 0
},
"io": [
{
"name": "string",
"readCount": 0,
"writeCount": 0,
"readBytes": 0,
"writeBytes": 0,
"byteUnit": "string",
"readTime": 0,
"writeTime": 0,
"ioTime": 0
}
]
},
"timestamp": 0
}
}
扫码加入【 inis 】开发群
在这里,获得【 inis 】使用上的任何帮助,快速上手让你的研测效率得到大幅提升