/gist:bd37cabac97a63617c07 Secret
Created
September 12, 2014 19:13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
usage: zaqar-benchmark [-h] [--admin_mode] [--config-dir DIR] | |
[--config-file PATH] | |
[--consumer_processes CONSUMER_PROCESSES] | |
[--consumer_workers CONSUMER_WORKERS] [--daemon] | |
[--debug] [--log-config-append PATH] | |
[--log-date-format DATE_FORMAT] [--log-dir LOG_DIR] | |
[--log-file PATH] [--log-format FORMAT] | |
[--messages_path MESSAGES_PATH] | |
[--messages_per_claim MESSAGES_PER_CLAIM] | |
[--messages_per_list MESSAGES_PER_LIST] | |
[--noadmin_mode] [--nodaemon] [--nodebug] | |
[--noskip_queue_reset] [--nouse-syslog] | |
[--nouse-syslog-rfc-format] [--noverbose] | |
[--num_queues NUM_QUEUES] | |
[--observer_processes OBSERVER_PROCESSES] | |
[--observer_workers OBSERVER_WORKERS] | |
[--producer_processes PRODUCER_PROCESSES] | |
[--producer_workers PRODUCER_WORKERS] | |
[--queue_prefix QUEUE_PREFIX] [--server_url SERVER_URL] | |
[--skip_queue_reset] | |
[--syslog-log-facility SYSLOG_LOG_FACILITY] | |
[--time TIME] [--use-syslog] [--use-syslog-rfc-format] | |
[--verbose] [--version] | |
optional arguments: | |
-h, --help show this help message and exit | |
--admin_mode Activate privileged endpoints. | |
--config-dir DIR Path to a config directory to pull *.conf files from. | |
This file set is sorted, so as to provide a | |
predictable parse order if individual options are | |
over-ridden. The set is parsed after the file(s) | |
specified via previous --config-file, arguments hence | |
over-ridden options in the directory take precedence. | |
--config-file PATH Path to a config file to use. Multiple config files | |
can be specified, with values in later files taking | |
precedence. The default files used are: None. | |
--consumer_processes CONSUMER_PROCESSES, -cp CONSUMER_PROCESSES | |
Number of Consumer Processes | |
--consumer_workers CONSUMER_WORKERS, -cw CONSUMER_WORKERS | |
Number of Consumer Workers | |
--daemon Run Zaqar server in the background. | |
--debug, -d Print debugging output (set logging level to DEBUG | |
instead of default WARNING level). | |
--log-config-append PATH, --log_config PATH | |
The name of a logging configuration file. This file is | |
appended to any existing logging configuration files. | |
For details about logging configuration files, see the | |
Python logging module documentation. | |
--log-date-format DATE_FORMAT | |
Format string for %(asctime)s in log records. Default: | |
None . | |
--log-dir LOG_DIR, --logdir LOG_DIR | |
(Optional) The base directory used for relative --log- | |
file paths. | |
--log-file PATH, --logfile PATH | |
(Optional) Name of log file to output to. If no | |
default is set, logging will go to stdout. | |
--log-format FORMAT DEPRECATED. A logging.Formatter log message format | |
string which may use any of the available | |
logging.LogRecord attributes. This option is | |
deprecated. Please use logging_context_format_string | |
and logging_default_format_string instead. | |
--messages_path MESSAGES_PATH, -m MESSAGES_PATH | |
--messages_per_claim MESSAGES_PER_CLAIM, -cno MESSAGES_PER_CLAIM | |
Number of messages the consumer will attempt to claim | |
at a time | |
--messages_per_list MESSAGES_PER_LIST, -lno MESSAGES_PER_LIST | |
Number of messages the obserer will attempt to list at | |
a time | |
--noadmin_mode The inverse of --admin_mode | |
--nodaemon The inverse of --daemon | |
--nodebug The inverse of --debug | |
--noskip_queue_reset The inverse of --skip_queue_reset | |
--nouse-syslog The inverse of --use-syslog | |
--nouse-syslog-rfc-format | |
The inverse of --use-syslog-rfc-format | |
--noverbose The inverse of --verbose | |
--num_queues NUM_QUEUES, -qno NUM_QUEUES | |
--observer_processes OBSERVER_PROCESSES, -op OBSERVER_PROCESSES | |
Number of Observer Processes | |
--observer_workers OBSERVER_WORKERS, -ow OBSERVER_WORKERS | |
Number of Observer Workers | |
--producer_processes PRODUCER_PROCESSES, -pp PRODUCER_PROCESSES | |
Number of Producer Processes | |
--producer_workers PRODUCER_WORKERS, -pw PRODUCER_WORKERS | |
Number of Producer Workers | |
--queue_prefix QUEUE_PREFIX, -q QUEUE_PREFIX | |
--server_url SERVER_URL, -s SERVER_URL | |
--skip_queue_reset Do not reset queues before runningthe performance test | |
--syslog-log-facility SYSLOG_LOG_FACILITY | |
Syslog facility to receive log lines. | |
--time TIME, -t TIME Duration of the performance test, in seconds | |
--use-syslog Use syslog for logging. Existing syslog format is | |
DEPRECATED during I, and will change in J to honor | |
RFC5424. | |
--use-syslog-rfc-format | |
(Optional) Enables or disables syslog rfc5424 format | |
for logging. If enabled, prefixes the MSG part of the | |
syslog message with APP-NAME (RFC5424). The format | |
without the APP-NAME is deprecated in I, and will be | |
removed in J. | |
--verbose, -v Print more verbose output (set logging level to INFO | |
instead of default WARNING level). | |
--version show program's version number and exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment