Skip to content

pvcontrol -- manage your pantavisor system with a CLI

SYNOPSIS

pvcontrol [options] [commands] [arguments]

DESCRIPTION

pvcontrol is a CLI tool to interact with your Pantavisor system that will allow to monitor and manage your device.

OPTIONS

-h Show help

-v Verbose

-s Send queries to socket (default: /pantavisor/pv-ctrl)

-f Send output to file instead of stdout

-m Commit message (only used for steps install and steps put)

COMMANDS

ls List all containers existing in the current revision

commands Send commands to the Pantavisor state machine

usrmeta User metadata related operations

devmeta Device metadata related operations

buildinfo Dump Pantavisor build info

objects Object related operations

steps Step related operations

conditions Group conditions related operations

To get more information about each command, just type pvcontrol [command] -h. For example, pvcontrol ls -h.

RETURN VALUE

0 Success

1 Syntax error

60 Object has bad checksum

70 Step verification has failed

255 Unknown response

Return value layout is organized by command in the following categories for future return values: pvcontrol script errors (1-9), ls (10-19), commands (20-29), usrmeta (30-39), devmeta (40-49), buildinfo (50-59), objects (60-69), steps (70-79), conditions (80-89) and unknown (255).

pvcontrol is Copyright (c) 2022 by Pantacor Ltd.