get instance state

This block is part of the virtualisation group and was last modified in core v15.0.0.

get instance state v13.0.9 Updated v15.0.0

Get state of a instance on the LXD server.

In pins 2 + flow
  • flow
    flow
  • Connection required
    lxdconnection

    The LXD connection

  • Instance name required
    value

    The name of the instance to request the state for.

Out pins 11 + flow
  • flow
    flow
  • Connection
    lxdconnection

    The LXD connection

  • Success
    condition

    If successful, this pin returns true.

  • Status
    value

    The current status of the instance..

  • CPU Usage
    object

    The current CPU usage of the instance.

  • Disk Usage
    object

    The current disk usage of the instance.

  • Memory Usage
    object

    The current memory usage of the instance.

  • Network state
    object

    The current network state of the instance.

  • Processes Running
    number

    The quantity of processes that are currently running on the instance.

  • Stats
    object

    Stats RUAL generated of this state.

  • Mounts
    array

    Mounts of the instance.

  • Error
    value

    Error message if the instance state could not be requested.

get instance status
instance status

A typical wiring for get instance state: a function trigger starts the flow; create network feeds the connection pin; value feeds the instance_name pin; the flow out pin feeds debug.

Studio canvas example for the get instance state block: typical wiring for get instance state.

Version history

Introduced in v13.0.9.

Last modified in v15.0.0.


Back to virtualisation Return to the main group to view all sub-groups Back to LXD Return to the group to view all blocks within this group