查询设备基础信息
简要描述:
- 查询设备基础信息
请求URL:
- /xsw/tmpInfo
请求方式:
- POST,GET
url参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| - | - | - | - |
返回示例
{
"totalcount": "31902",
"ntpok": "",
"date": "2022-08-08 11:06:34
",
"cpu": "0",
"mem": "14",
"rtspbw": "165116",
"rtmpbw": "0",
"disk_total": "0",
"disk_free": "0",
"ip": "192.168.0.15",
"gateway": "192.168.0.1",
"mask": "255.255.255.0",
"dns1": "114.114.114.114",
"dns2": "114.114.114.114"
}
返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| totalcount | string | 启动时间单位秒 |
| ntpok | string | 公网状态,空正常,否则异常 |
| date | string | 设备时间 |
| cpu | string | cpu百分值 |
| mem | string | 内存百分值 |
| rtspbw | string | 拉流带宽 bit |
| rtmpbw | string | 推流带宽 bit |
| disk_total | string | 磁盘总大小 MB |
| disk_free | string | 磁盘剩余 MB |
| ip | string | 设备Ip |
| ip_4g | string | 4g模式设备Ip |
| gateway | string | 网关 |
| mask | string | 子网掩码 |
| dns1 | string | DNS1 |
| dns2 | string | DNS2 |
这份文档没解决你的问题?联系我们,技术工程师直接对接。