check_list

check_list — Check the LightDB runtime environment status tool.

Synopsis

python3 check_list/lightdb_maa_checklist.py [-d FILENAME] [-p PORT] [-t TAG] [-m LTHOME] [-n DBNAME]

Description

check_list is used to check the possible causes of instability of the operating system, configuration, network, etc. and to check the availability, correctness, stability, easy troubleshooting, and data consistency of the LightDB.

Options

-d/--output_dir

output file in this directory name, default current directory.

-p/--port

Lightdb database server port (default: "5432")

-t/--tag

A string for create output html filename. (default: None)

--m/--lthome

Specifies the file system location of the LightDB software. If this option is omitted, the environment variable $LTHOME is used.

--n/--dbname

Lightdb database name to connect to (default: "postgres")

-?
--help

Show help about check_list command line arguments, and exit.

Usage

Use all default arguments. If execute successful, print the file name.

        $ python3 check_list/lightdb_maa_checklist.py
    

Specify parameter execution. If execute successful, print the file name.

        $ python3 check_list/lightdb_maa_checklist.py --port 5432 --tag "master_node" --dbname postgres --lthome /usr/local/lightdb 
    

English|中文