List Greenplum Streaming Server jobs and status.
gpsscli list [--all]
[--config <gpsscliconfig.json>]
[--gpss-host <host>] [--gpss-port <port>]
[-U | --username <client_auth_user> -P | --password <client_auth_passwd>]
[--no-check-ca] [-l | --log-dir <directory>] [--verbose]
gpsscli list {-h | --help}
The gpsscli list
command lists the running jobs serviced by a specific Greenplum Streaming Server (GPSS) instance. You can instruct the command to list all jobs regardless of state by providing the --all
flag.
gpsscli list
displays the job identifier and status, as well as the Greenplum Database coordinator host, port, database, schema, and table.
If the GPSS instance to which you want to send the request is not running on the default host (127.0.0.1
) or the default port number (5000
), you can specify the GPSS host and/or port via command line options.
The GPSS configuration file. This file includes properties that identify the gpss
instance that services the command. When SSL encryption is enabled between the GPSS client and server, you also use this file to identify the file system location of the client SSL certificates. Refer to gpss.json for detailed information about the format of this file and the configuration properties supported.
Note
gpsscli
subcommands read the configuration specified in theListenAddress
block of thegpsscliconfig.json
file, and ignore thegpfdist
configuration specified in theGpfdist
block of the file.
Enable the use of color when displaying front-end log messages. When specified, GPSS colors the log level in messages that it writes to stdout
. Color is deactivated by default.
--color
option if you also specify
--csv-log
.
stdout
using spaces between fields for a more human-readable format.
127.0.0.1
. If specified, overrides a
ListenAddress:Host
value provided in
gpsscliconfig.json
5000
. If specified, overrides a
ListenAddress:Port
value provided in
gpsscliconfig.json
gpsscli
subcommand.
The directory to which GPSS writes client command log files. GPSS must have write permission to the directory. GPSS creates the log directory if it does not exist.
gpsscli
client log files to the
$HOME/gpAdminLogs
directory.
stdout
. When you specify the
--verbose
option, GPSS also outputs debug-level messages about the operation.
List all Greenplum Streaming Server jobs:
$ gpsscli list --all