gerrit server * commands¶
server cache flush¶
Flushes a cache.
gerrit server cache flush (-a | -n NAME [NAME ...])
-
-a
,
--all
¶
All available caches.
-
-n
<NAME>
,
--name
<NAME>
¶ Caches names.
This command is provided by the python-gerritclient plugin.
server cache list¶
Show the cache names as a list.
gerrit server cache list
[-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--sort-column SORT_COLUMN]
-
-f
<FORMATTER>
,
--format
<FORMATTER>
¶ the output format, defaults to table
-
-c
COLUMN
,
--column
COLUMN
¶ specify the column(s) to include, can be repeated
-
--max-width
<integer>
¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width
¶
Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty
¶
Print empty table if there is no data to show.
-
--noindent
¶
whether to disable indenting the JSON
-
--quote
<QUOTE_MODE>
¶ when to include quotes, defaults to nonnumeric
-
--sort-column
SORT_COLUMN
¶ specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
This command is provided by the python-gerritclient plugin.
server cache show¶
Retrieves information about a cache.
gerrit server cache show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--prefix PREFIX]
name
-
-f
<FORMATTER>
,
--format
<FORMATTER>
¶ the output format, defaults to table
-
-c
COLUMN
,
--column
COLUMN
¶ specify the column(s) to include, can be repeated
-
--max-width
<integer>
¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width
¶
Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty
¶
Print empty table if there is no data to show.
-
--noindent
¶
whether to disable indenting the JSON
-
--prefix
<PREFIX>
¶ add a prefix to all variable names
-
name
¶
Cache name.
This command is provided by the python-gerritclient plugin.
server capabilities download¶
Downloads a list of the capabilities available in the system.
gerrit server capabilities download [-f {json,yaml}] [-d DIRECTORY]
-
-f
<FORMAT>
,
--format
<FORMAT>
¶ Format of serialization.
-
-d
<DIRECTORY>
,
--directory
<DIRECTORY>
¶ Destination directory. Defaults to the current directory.
This command is provided by the python-gerritclient plugin.
server configuration download¶
Downloads the information about the Gerrit server configuration.
gerrit server configuration download [-f {json,yaml}] [-d DIRECTORY]
-
-f
<FORMAT>
,
--format
<FORMAT>
¶ Format of serialization.
-
-d
<DIRECTORY>
,
--directory
<DIRECTORY>
¶ Destination directory. Defaults to the current directory.
This command is provided by the python-gerritclient plugin.
server state show¶
Retrieves a summary of the current server state.
gerrit server state show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--prefix PREFIX]
[--jvm]
[--gc]
-
-f
<FORMATTER>
,
--format
<FORMATTER>
¶ the output format, defaults to table
-
-c
COLUMN
,
--column
COLUMN
¶ specify the column(s) to include, can be repeated
-
--max-width
<integer>
¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width
¶
Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty
¶
Print empty table if there is no data to show.
-
--noindent
¶
whether to disable indenting the JSON
-
--prefix
<PREFIX>
¶ add a prefix to all variable names
-
--jvm
¶
Includes a JVM summary.
-
--gc
¶
Requests a Java garbage collection before computing the information about the Java memory heap.
This command is provided by the python-gerritclient plugin.
server task delete¶
Kills a task from the background work queue that the Gerrit daemon
is currently performing, or will perform in the near future.
gerrit server task delete task-identifier
-
task-identifier
¶
The ID of the task (hex string).
This command is provided by the python-gerritclient plugin.
server task list¶
Lists the tasks from the background work queues that the Gerrit daemons
is currently performing, or will perform in the near future.
gerrit server task list
[-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--sort-column SORT_COLUMN]
-
-f
<FORMATTER>
,
--format
<FORMATTER>
¶ the output format, defaults to table
-
-c
COLUMN
,
--column
COLUMN
¶ specify the column(s) to include, can be repeated
-
--max-width
<integer>
¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width
¶
Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty
¶
Print empty table if there is no data to show.
-
--noindent
¶
whether to disable indenting the JSON
-
--quote
<QUOTE_MODE>
¶ when to include quotes, defaults to nonnumeric
-
--sort-column
SORT_COLUMN
¶ specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
This command is provided by the python-gerritclient plugin.
server task show¶
Retrieves a task from the background work queue that the Gerrit daemon
is currently performing, or will perform in the near future.
gerrit server task show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--prefix PREFIX]
task-identifier
-
-f
<FORMATTER>
,
--format
<FORMATTER>
¶ the output format, defaults to table
-
-c
COLUMN
,
--column
COLUMN
¶ specify the column(s) to include, can be repeated
-
--max-width
<integer>
¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width
¶
Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty
¶
Print empty table if there is no data to show.
-
--noindent
¶
whether to disable indenting the JSON
-
--prefix
<PREFIX>
¶ add a prefix to all variable names
-
task-identifier
¶
The ID of the task (hex string).
This command is provided by the python-gerritclient plugin.
server version¶
Returns the version of the Gerrit server.
gerrit server version
This command is provided by the python-gerritclient plugin.