Which Linux command to check status?
I try to validate status MEMCache extension. Which Linux command should be used?
An example of response:
STAT pid 1619717
STAT uptime 82226
STAT time 1764347539
STAT version 1.5.22
STAT libevent 2.1.8-stable
STAT pointer_size 64
STAT rusage_user 6.677021-
Hey there! This information would only be available to you if you are running the memcached *server* and not just the PHP extension.
If you have the server installed and configured as listed under the "Install and Configure Memcached in cPanel" section here:
https://www.cpanel.net/blog/tips-and-tricks/memcached-php-applications-for-faster-web-apps/
you can run the following commands to get that information:
telnet localhost 11211
Once you connect, just type "stats" to see what it's doing and you'll get that string of output you're looking for.
0 -
To check the Memcached status in cPanel, use the memcached-tool command, for example:
memcached-tool 127.0.0.1:11211 stats
This will return output like the STAT values you listed and confirms that Memcached is running.
0 -
itx_sumeet - that command doesn't exist on my test machine by default.
0
Please sign in to leave a comment.
Comments
3 comments