Skip to content

grafos leases

Lease lifecycle inspection — list, query, fence.

grafos leases

Manage fabric leases: list, inspect, filter, summary
Usage: grafos leases [OPTIONS] <COMMAND>
Commands:
list List active leases across the fabric
show Show detailed information for a specific lease
expired Show recently expired leases (for debugging)
summary Aggregate lease statistics
help Print this message or the help of the given subcommand(s)
Options:
--fabric <FABRIC> Fabric address (host:port). Overrides GRAFOS_FABRIC env var [env: GRAFOS_FABRIC=]
--json Output in JSON format for scripting
--wide Show additional columns in table output
--no-color Disable color output
--pool <POOL> Pool name (default: "default") [default: default]
-h, --help Print help
-V, --version Print version

grafos leases list

List active leases across the fabric
Usage: grafos leases list [OPTIONS]
Options:
--fabric <FABRIC> Fabric address (host:port). Overrides GRAFOS_FABRIC env var [env: GRAFOS_FABRIC=]
-t, --type <TYPE> Filter by resource type (mem, block, gpu, cpu, net)
--json Output in JSON format for scripting
--node <NODE> Filter by node ID
--expiring <EXPIRING> Show only leases expiring within N seconds
--wide Show additional columns in table output
--no-color Disable color output
--pool <POOL> Pool name (default: "default") [default: default]
-h, --help Print help
-V, --version Print version

grafos leases show

Show detailed information for a specific lease
Usage: grafos leases show [OPTIONS] <LEASE_ID>
Arguments:
<LEASE_ID> Lease ID (short hex or full)
Options:
--fabric <FABRIC> Fabric address (host:port). Overrides GRAFOS_FABRIC env var [env: GRAFOS_FABRIC=]
--json Output in JSON format for scripting
--wide Show additional columns in table output
--no-color Disable color output
--pool <POOL> Pool name (default: "default") [default: default]
-h, --help Print help
-V, --version Print version

grafos leases expired

Show recently expired leases (for debugging)
Usage: grafos leases expired [OPTIONS]
Options:
--fabric <FABRIC> Fabric address (host:port). Overrides GRAFOS_FABRIC env var [env: GRAFOS_FABRIC=]
--since <SINCE> Show leases expired within this duration (e.g. "300" for 5 minutes) [default: 300]
--json Output in JSON format for scripting
--wide Show additional columns in table output
--no-color Disable color output
--pool <POOL> Pool name (default: "default") [default: default]
-h, --help Print help
-V, --version Print version

grafos leases summary

Aggregate lease statistics
Usage: grafos leases summary [OPTIONS]
Options:
--fabric <FABRIC> Fabric address (host:port). Overrides GRAFOS_FABRIC env var [env: GRAFOS_FABRIC=]
--json Output in JSON format for scripting
--wide Show additional columns in table output
--no-color Disable color output
--pool <POOL> Pool name (default: "default") [default: default]
-h, --help Print help
-V, --version Print version