hostedpi table

List Raspberry Pi server information in a table

Usage: hostedpi table [OPTIONS] [NAMES]...

Arguments

names

Names of the Raspberry Pi servers to list

Options

--filter [str]

Search pattern for filtering server names

--full

Show all available columns in the table

Equivalent to enabling all column options below

--model

Show model column in table

--memory

Show memory column in table

--cpu

Show CPU speed column in table

--disk

Show disk size column in table

--nic

Show NIC speed column in table

--status

Show status column in table

--boot-progress

Show boot progress column in table

--ssh-port

Show IPv4 SSH port column in table

--ip-address

Show IPv6 address column in table

--location

Show location column in table

--power

Show power state column in table

--help

Show this message and exit

Alias

hostedpi tab

Usage

List all Pis in the account in a table:

$ hostedpi table
┏━━━━━━━┳━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━┓
┃ Name  ┃ Model ┃ Memory ┃ CPU Speed ┃
┡━━━━━━━╇━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━┩
│ mypi  │ 3     │ 1 GB   │ 1.2 GHz   │
│ mypi2 │ 4     │ 4 GB   │ 1.5 GHz   │
│ mypi3 │ 4     │ 4 GB   │ 1.5 GHz   │
│ mypi4 │ 4     │ 8 GB   │ 2.0 GHz   │
│ bob1  │ 4     │ 8 GB   │ 2.0 GHz   │
│ bob2  │ 4     │ 8 GB   │ 2.0 GHz   │
└───────┴───────┴────────┴───────────┘

List a number of Pis by name:

$ hostedpi table mypi mypi2
┏━━━━━━━┳━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━┓
┃ Name  ┃ Model ┃ Memory ┃ CPU Speed ┃
┡━━━━━━━╇━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━┩
│ mypi  │ 3     │ 1 GB   │ 1.2 GHz   │
│ mypi2 │ 4     │ 4 GB   │ 1.5 GHz   │
└───────┴───────┴────────┴───────────┘

Filter by a search pattern:

$ hostedpi table --filter bob
┏━━━━━━━┳━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━┓
┃ Name  ┃ Model ┃ Memory ┃ CPU Speed ┃
┡━━━━━━━╇━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━┩
│ bob1  │ 4     │ 8 GB   │ 2.0 GHz   │
│ bob2  │ 4     │ 8 GB   │ 2.0 GHz   │
└───────┴───────┴────────┴───────────┘

Show specific columns:

$ hostedpi table --status --disk --location
┏━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Name  ┃ Status     ┃ Disk size ┃ Location ┃
┡━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━┩
│ mypi  │ Powered on │ 10 GB     │ CLL      │
│ mypi2 │ Powered on │ 20 GB     │ CLL      │
└───────┴────────────┴───────────┴──────────┘

Show all available columns:

$ hostedpi table mypi3 mypi4 --full
┏━━━━━━━┳━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┓
┃ Name  ┃ Model ┃ Memory ┃ CPU Speed ┃ NIC Speed ┃ Disk size ┃ Status     ┃ Boot Progress ┃ IPv4 SSH port ┃ IPv6 Address      ┃ Location ┃ Power ┃
┡━━━━━━━╇━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━┩
│ mypi3 │ 4B    │ 1 GB   │ 1.2 GHz   │ 100 Mbps  │ 10 GB     │ Powered on │ booted        │ 5142          │ 2a00:1098:8:68::1 │ CLL      │ True  │
│ mypi4 │ 4B    │ 8 GB   │ 2.0 GHz   │ 1 Gbps    │ 60 GB     │ Powered on │ booted        │ 5423          │ 2a00:1098:8:68::2 │ CLL      │ True  │
└───────┴───────┴────────┴───────────┴───────────┴───────────┴────────────┴───────────────┴───────────────┴───────────────────┴──────────┴───────┘

Note

The default view of the table is fast to load, as it does not require fetching all details for each server. Requesting additional columns may result in a longer loading time, as more information needs to be retrieved from the API for each server.