3.27.4. Show hypervisor up time

 
MethodURIDescription
GET/v2/{tenant_id}/os-hypervisors/{hypervisor_hostname}

Shows the up time for a specified hypervisor.

Normal response codes: 200

 3.27.4.1. Request

This table shows the URI parameters for the show hypervisor up time request:

NameTypeDescription

{tenant_id}

​String

The ID for the tenant or account in a multi-tenancy cloud.

{hypervisor_hostname}

​String

The name of the host that runs the hypervisor.

This operation does not require a request body.

 3.27.4.2. Response

 

Example 3.235. Show hypervisor up time: JSON response

{
    "hypervisor": {
        "hypervisor_hostname": "fake-mini",
        "id": 1,
        "uptime": " 08:32:11 up 93 days, 18:25, 12 users,  load average: 0.20, 0.12, 0.14"
    }
}

 

Example 3.236. Show hypervisor up time: XML response

<?xml version='1.0' encoding='UTF-8'?>
<hypervisor uptime=" 08:32:11 up 93 days, 18:25, 12 users,  load average: 0.20, 0.12, 0.14" id="1" hypervisor_hostname="fake-mini"/>

This operation does not return a response body.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...