Question: How to check Memcached version in Linux?
Answer
To check the version of Memcached installed on a Linux system, you can use the memcached -V
command. This will print the version information of Memcached.
Here's an example of how to use the command:
$ memcached -V
memcached 1.5.22
In this example, 1.5.22
is the version number of Memcached installed.
Another way to check the version of Memcached is to use the telnet
command and connect to the Memcached server:
$ telnet localhost 11211
Trying ::1...
Connected to localhost.
Escape character is '^]'.
version
VERSION 1.5.22
END
In this example, 1.5.22
is the version number of Memcached installed. The VERSION
command is used to retrieve version information from the Memcached server.
You can also check the version of Memcached by looking at the package manager. For instance, if you're using Debian or Ubuntu, you can run the following command:
$ apt-cache show memcached | grep Version
Version: 1.5.22-2ubuntu0.1
In this example, 1.5.22-2ubuntu0.1
is the version number of Memcached installed.
Was this content helpful?
Other Common Memcached Questions (and Answers)
- Does Memcached expire?
- Does Memcached write to disk?
- What is the location of Memcached error log?
- How does Memcached consistent hashing work?
- Does Memcached support encryption?
- How to pronounce Memcached?
- How to install Memcached in CentOS 7?
- How to clear Memcached data?
- How does Memcached work in PHP?
- How to install Memcached on Windows?
- How much memory RAM does Memcached use?
- How to install Memcached on Ubuntu?
Free System Design on AWS E-Book
Download this early release of O'Reilly's latest cloud infrastructure e-book: System Design on AWS.
Switch & save up to 80%
Dragonfly is fully compatible with the Redis ecosystem and requires no code changes to implement. Instantly experience up to a 25X boost in performance and 80% reduction in cost