Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
A script to generate a progress bar tracking Redis' progress loading the data files on startup

NAME

redis_loading - A script to display a progress bar showing redis' progress loading the rdb or aof files from disk

SYNOPSIS

redis_loading [-h host] [-p port]

DESCRIPTION

This script connects to the redis server, runs the INFO command and displays a progress bar showing Redis' progress in loading the rdb or aof files from disk on startup.

-h

Optional. Specify the host or IP to connect to. Defaults to localhost

-p

Optional. What port to connect to. Defaults to 6379

EXAMPLES

redis_loading -h redis.example.com -p 6379

Attempts to connect to the redis instance at redis.example.com:6379

redis_loading

Attempts to connect to the redis instance at localhost:6379

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 86:

You forgot a '=back' before '=head1'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment