# Checking memcached status

DevFeed: [Checking memcached status](<https://devfeed.tech/articles/checking-memcached-status-27613.md>)

Original publisher: [Read original article](<https://gagor.pro/2014/03/checking-memcached-status/>)

Author: Tom

Published: 2014-03-21T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [Server](<https://devfeed.tech/topics/server.md>)

Tags: [linux](<https://devfeed.tech/tags/linux.md>), [memcached](<https://devfeed.tech/tags/memcached.md>), [memory](<https://devfeed.tech/tags/memory.md>), [server](<https://devfeed.tech/tags/server.md>), [stat](<https://devfeed.tech/tags/stat.md>), [threads](<https://devfeed.tech/tags/threads.md>)

## AI overview

A short tutorial shows how to check a memcached server's status and memory usage with the netcat command. It highlights the STAT bytes value while also displaying other server statistics.

## Source excerpt

I need to check memory usage of memcached server so I used: echo stats | nc 127.0.0.1 11211 STAT pid 2743 STAT uptime 263 STAT time 1395438951 STAT version 1.4.13 STAT pointer_size 64 STAT rusage_user 0.482926 STAT rusage_system 2.675593 STAT curr_items 8667 STAT total_items 10742 STAT bytes 23802513 STAT curr_connections 296 STAT total_connections 399 STAT connection_structures 297 STAT cmd_flush 0 STAT cmd_get 52578 STAT cmd_set 10792 STAT get_hits 28692 STAT get_misses 23886 STAT evictions 0 STAT bytes_read 35984361 STAT bytes_written 192647437 STAT limit_maxbytes 536870912 STAT threads 2 STAT accepting_conns 1 STAT listen_disabled_num 0 STAT replication MASTER STAT repcached_qi_free 8189 STAT repcached_wdata 0 STAT repcached_wsize 1026048 END For me, bytes value was important but you could find more about all statistics here external link .