curl --location --request GET 'https://dev-api.inis.cn/api/dashboard/system' \
--header 'Accept: text/event-stream' \
--header 'Authorization: Bearer ' \
--header 'X-Forwarded-For: '{
"msg": "string",
"code": 0,
"data": {
"os": {
"name": "string",
"kernel": "string",
"platform": "string",
"familyName": "string",
"familyVersion": "string"
},
"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
},
"top5": [
{
"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,
"readBytesPerSec": 0,
"writeBytesPerSec": 0,
"rateUnit": "string"
}
]
},
"net": {
"items": [
{
"name": "string",
"bytesRecv": 0,
"bytesSent": 0,
"recvRate": 0,
"recvUnit": "string",
"sendRate": 0,
"sendUnit": "string",
"packetsRecv": 0,
"packetsSent": 0
}
],
"unit": "string",
"totalRecvRate": 0,
"totalSendRate": 0,
"timestamp": 0
},
"timestamp": 0
}
}
扫码加入【 inis 】开发群
在这里,获得【 inis 】使用上的任何帮助,快速上手让你的研测效率得到大幅提升

扫码加入QQ群