1.1.12 • Published 3 years ago

@skyrec/aml v1.1.12

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Description

The SkyREC AiMS Command Line Interface (CLI) is a unified tool to manage your SkyREC AiMS services. With just one tool to download and configure, you can control multiple AiMS services from the command line.

Requirements

node.js -- v12.13.0 or newer

Install

npm install --global @skyrec/aml

Usage

You can get help on the command line to see the supported commands

aml help

and the options for an operation.

aml help install

Update AML

Update aml to the latest version

aml update

Check current installed service or available versions

aml list
aml list-remote

Example:

[AML]    Latest version: v20210413
[AML] Available version: v20210413 (odct,nvr,comet,doc,deploy)
                         v20210412 (odct,nvr,comet)
                         v20210410 (odct,nvr,comet,pgsql)
                         ...

Install specific version of service

Services: odct, nvr, pgsql, nast, comet, model, 3party, doc, deploy

aml install -v v20210412 [service]

Use -d or --development for development mode. -f or --force to force install.

Start/stop/restart service

Services: odct, nvr, pgsql, nast

aml start <service>
aml stop <service>
aml restart <service>

Service status

Services: odct, nvr, pgsql, nast

aml status <service>

Manual page

Topics: driver

aml man <topic>

Execute database queries

1. PostgreSQL (odctdb)

aml query pgsql [options]

2. SQLite

aml query sqlite3 <sqliteDB> [options]
aml query sqlcipher <sqliteDB> [options]

Use -c <command> or --command <command> for command string. -f <filename> or --file <filename> reads commands from the file.

Partition disk

Format, partition disk. Mount partitions.

aml part sdb 4 --mount

Options

Use --mount to mount disk partitons to "/mnt/${UUID}", where ${UUID} uniquely identifies a partition in Linux operating systems. Use --mount /new/place to mount partitions to "/new/place/${UUID}".

Pre-allocate disk space

Pre-allocate specific filesystem for vas and/or recording.

aml format /mnt/9677-5AB8 --service odct --pct 40 --size 1000

Use --pct or --num.

Reserve

Reserve segment-files for streams. Generate SQL.

aml reserve /mnt/9677-1123 --service nvr --stream 1 --num 20
aml reserve /mnt/9677-1124 --service nvr --stream 1,2,3
1.1.12

3 years ago

1.1.11

3 years ago

1.1.9

3 years ago

1.1.10

3 years ago

1.1.8

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago