OS Manuals

/usr/bin/memslap

Client library and command line tools for memcached server (resurrected)

From libmemcached 1.1.4-r8 (os), captured 2026-11-05 by running memslap --help (exit 0). permalink

memslap v1.1 (libmemcached v1.1.4)

	Generate load against a cluster of memcached servers.

Usage:
	memslap -[hVvdqbBnNRUF] [-p|u|s|H|t|c|e|l <arg>]

Options:
	-h|--help
		Print this help.
	-V|--version
		Print program version.
	-v|--verbose
		Print more informational output.
	-d|--debug
		Print output useful only for debugging.
	-q|--quiet
		Print no output, not even errors.
	-p|--password <arg>
		SASL password.
	-u|--username <arg>
		SASL username.
	-b|--binary
		Use the binary memcached protocol.
	-B|--buffer
		Buffer requests.
	-n|--non-blocking
		Use non-blocking connections.
	-N|--tcp-nodelay
		Disable Nagle's algorithm.
	-s|--servers <arg>
		List of servers to connect to.
	-H|--hash <arg>
		Key hashing method.
	-R|--noreply
		Enable the NOREPLY behavior for storage commands.
	-U|--udp
		Use UDP.
	-F|--flush
		Flush all servers prior test.
	-t|--test <arg>
		Test to perform (options: get,mget,set; default: get).
	-c|--concurrency <arg>
		Concurrency (number of threads to start; default: 1).
	-e|--execute-number <arg>
		Number of times to execute the tests (default: 10000).
	-l|--initial-load <arg>
		Number of keys to load before executing tests (default: 10000).
		DEPRECATED: --execute-number takes precedence.

Environment:
	MEMCACHED_SERVERS=
		List of servers to use if `-s|--servers` was not provided.

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.