Posts

Showing posts from June, 2011

mongodb mongod command line args

smorin$ ./mongod --dbpath ../../mongodata/ --help Allowed options: General options:   -h [ --help ]          show this usage information   --version              show version information   -f [ --config ] arg    configuration file specifying additional options   -v [ --verbose ]       be more verbose (include multiple times for more                          verbosity e.g. -vvvvv)   --quiet                quieter output   --port arg             specify port number   --bind_ip arg          comma separated list of ip addresses to listen on -                          all local ips by default   --logpath arg        ...

mongodb mongo command line args

smorin$ ./bin/mongo --help MongoDB shell version: 1.8.1 usage: ./bin/mongo [options] [db address] [file names (ending in .js)] db address can be:   foo                   foo database on local machine   192.169.0.5/foo       foo database on 192.168.0.5 machine   192.169.0.5:9999/foo  foo database on 192.168.0.5 machine on port 9999 options:   --shell               run the shell after executing files   --nodb                don't connect to mongod on startup - no 'db address'                         arg expected   --quiet               be less chatty   --port arg            port to connect to   --host arg            server to connect to   --...

redis redis-cli command line options

There isn't official documentation for the command line arguments as of redis-cli.  If you type --help for the command line arguments you get the following smorin$ ./redis-2.2.4//src/redis-cli --help redis-cli 2.2.4 Usage: redis-cli [OPTIONS] [cmd [arg [arg ...]]]   -h    Server hostname (default: 127.0.0.1)   -p        Server port (default: 6379)   -s      Server socket (overrides hostname and port)   -a    Password to use when connecting to the server   -r      Execute specified command N times   -n          Database number   -x               Read last argument from STDIN   -d   Multi-bulk delimiter in for raw formatting (default: \n)   --raw            Use raw formatting for replies (default when STDOUT is not a tty)   --help     ...

redis redis-server command line options

There is only one argument for redis-server.  It's the path to the redis.conf file.  There is a example of this file in the redis src base.  There isn't a official documentation page as of 6/2011 $redis-server /path/to/redis/config/redis.conf