Skip to main content

Which Linux command to check status?

Comments

3 comments

  • cPRex Jurassic Moderator

    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
  • itx_sumeet

    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
  • cPRex Jurassic Moderator

    itx_sumeet - that command doesn't exist on my test machine by default.

    0

Please sign in to leave a comment.