查询主机内存情况

功能描述

获取SE主机内存利用率。

调用URL

http://192.168.1.180:8888/SophonSystem/api/memoryInfo

调用方法

GET

请求示例:

请求url: http://192.168.1.180:8888/SophonSystem/api/memoryInfo?

返回信息:

请求成功

{
    "data": {
        "hardware_total_memory": "12.0G",
        "system": {
            "free": "3.28G",
            "system_scale": 0.32,
            "total": "3.71G",
            "used": "440.0M"
        },
        "total_free_memory": "10.57G",
        "total_memory": "11.51G",
        "total_used_memory": "963.63M",
        "total_memory_scale": 0.08,
        "tpu": {
            "free": "3.41G",
            "total": "3.92G",
            "tpu_scale": 0.34,
            "used": "523.49M"
        },
        "video": {
            "free": "3.87G",
            "total": "3.88G",
            "used": "0.14M",
            "video_scale": 0.34
        }
    }
}

请求失败

Last updated