查询主机内存情况
功能描述
获取SE主机内存利用率。
调用URL
http://192.168.1.180:8888/SophonSystem/api/memoryInfo
调用方法
GET
请求示例:
返回信息:
请求成功
请求失败
Last updated
功能描述
获取SE主机内存利用率。
调用URL
http://192.168.1.180:8888/SophonSystem/api/memoryInfo
调用方法
GET
请求示例:
返回信息:
请求成功
请求失败
Last updated
一级参数 | 二级参数 | 三级参数 | 类型 | 描述 |
---|---|---|---|---|
一级参数 | 二级参数 | 类型 | 描述 |
---|---|---|---|
data
dict
hardware_total_memory
string
板载总内存
total_memory
string
总内存
total_free_memory
string
剩余总内存
total_used_memory
string
已经使用内存
total_memory_scale
float
总内存使用率
system
dict
system_scale
float
system占总内存比例
total
string
system总内存
free
string
system剩余内存
used
string
system使用内存
tpu
dict
tpu_scale
float
tpu占总内存比例
total
string
tpu总内存
free
string
tpu剩余内存
used
string
tpu使用内存
video
dict
video_scale
float
video占总内存比例
total
string
video总内存
free
string
video剩余内存
used
string
video使用内存
请求成功示例:
error
code
int
请求错误码
message
string
错误描述
status
string
错误类型