|
Project Information
|
memcmonsummaryshort: memcmon is a memcache server(s) monitor long: memcmon is perl script for monitoring multiple memcached servers. It shows various stats (get hits/misses per second, items cached, etc.) refreshed every second and is easy to add more columns/stats if needed. Totals are also displayed. It uses ncurses. dependencies- perl + modules Curses and Time::HiRes
- nc
- linux (I've tested in only on Linux, but I guess it will run on everything that has echo and | pipes)
sample output
memcmon v0.3
server curr gets misses cache usage usage items items bytes bytes threads uptime version
IP conns per/s per/s size(MB) (MB) (%) cached change read(MB) write(MB) in H
=====================================================================================================================================
mmc1 67 4877 350 2048 25.36 1.24 62437 +149 0.22 1.80 4 0 1.4.5
mmc2 67 4726 235 3072 873.48 28.43 7421064 +68 0.21 1.84 4 1513 1.4.5
mmc3 82 5118 250 2048 148.23 7.24 1048378 +30 0.25 5.02 4 4224 1.4.5
mmc4 83 9127 219 2048 152.07 7.43 1074240 -3 0.29 2.13 4 4224 1.4.5
mmc5 82 5393 239 2048 145.59 7.11 1028383 +72 0.34 14.86 4 4224 1.4.5
mmc6 70 4526 278 2048 144.46 7.05 964018 +22 0.22 2.51 4 4224 1.4.5
mmc7 64 4776 229 2048 134.23 6.55 891740 +0 0.20 10.93 4 4224 1.4.5
mmc8 67 5280 213 2048 872.04 42.58 7411447 +19 0.21 15.15 4 2033 1.4.5
mmc9 66 4177 257 2048 160.63 7.84 1137405 +80 0.19 1.85 4 4224 1.4.5
mmc10 59 5675 237 2048 152.80 7.46 1084099 -21 0.23 48.76 4 4224 1.4.5
mmc10:11212 10 0 0 2048 0.00 0.00 0 +0 0.00 0.00 4 2 1.4.5
=====================================================================================================================================
totals 653 53610 2329 23552 2808.93 11.926 22123560 349 2.29 104.07 - - -
95.83% 4.16%
** 1 second was : 1.001068
Change Logversion 0.4 ( 12 March 2012) - fixed a bug that messed up version numbering on newer memcached versions
version 0.3 ( 13 May 2011 ) - fixed bug that messed up totals for multiple servers on the same host
- added bytes read/written per second in MB and totals
- added color to the output (green if server is fine, red if cannot connect)
version 0.2 ( 27 Nov 2009 ) - added totals below columns and other small changes
version 0.1 ( 23 Oct 2009 )
|