4.7 Sneak Preview – vsctl Pt.2 – Command Line Interface Status Commands

With Vidispine 4.7 you’ll get a new and improved command line interface called vsvtl. vsctl can be used to inspect and control a running Vidispine server. It is targeted at operations and developers working with Vidispine. This is part 2 of this sneak preview.

All information and operations are performed using the API, so this can also be seen as an example on how to interact with Vidispine from Python. We have selected a few commands that we believe are of importance to you, and will slowly but steady continue to improve on the tool.

Usage

Let’s start with an overview of everything you can do with vsctl. Just run the command without any arguments to see the full help, and you’ll get this list.

Below we’ll present a few of the commands in more detail. This is second part of the vsctl blog post, and you can find the first vsctl post here.

System status

The status command displays a high level overview of the activity and the status of resources, jobs and storages.

vsctl-status

Storage status

The status command will list any offline storage and the storage errors. Details on the storages can be seen using the storage command.

vsctl storage status

System statistics

Vidispine server exposes system metrics using StatsD, JMX and on the metrics resource on the admin port. Here we use watch to continuously poll and display the latest statistics.

vsctl  system stats

Open for suggestions

The vsctl is very much open for suggestions, so if you have any suggestions on commands or arguments that would be useful to you, then please don’t hesitate to get in contact with us. A very good way to make suggestions is to use our support portal and add a new ticket of the type “Suggestion”.