Skip to main content

Retrieve system status

GET 

/system/status

Get the current status of the system including hostname, uptime, load averages, memory, and disk usage.

Responses

A JSON object containing the system's status information.

Schema

    hostname stringrequired

    The hostname of the system.

    uptime stringrequired

    The uptime of the system.

    load_average

    object

    required

    The system load averages for 1, 5, and 15 minutes.

    1min numberrequired

    Load average for the last 1 minute.

    5min numberrequired

    Load average for the last 5 minutes.

    15min numberrequired

    Load average for the last 15 minutes.

    memory

    object

    required

    Memory usage information.

    total integerrequired

    Total memory in bytes.

    free integerrequired

    Free memory in bytes.

    used integerrequired

    Used memory in bytes.

    disks

    object[]

    required

    List of local disk usage information.

  • Array [

  • name stringrequired

    Disk identifier, e.g., "/dev/sda1".

    total integerrequired

    Total disk space in bytes.

    used integerrequired

    Used disk space in bytes.

    free integerrequired

    Free disk space in bytes.

  • ]

  • os_info

    object

    required

    Operating system information.

    distribution stringrequired

    The name of the Linux distribution.

    version stringrequired

    The version of the Linux distribution.

Loading...