tbuchboeck / memcache-top

Automatically exported from code.google.com/p/memcache-top
0 stars 0 forks source link

Add one-off display mode #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
"memcache-top is a very nifty app, which has helped expose issues we had with 
excess evictions from our memcached (excess=more than zero!). the only 
'shortcoming' i can find is the lack of a "one-shot" run option - i'd really 
like to incorporate the output into a daily report, but redirecting the 
output to a file is a bit of a fail...."

Original issue reported on code.google.com by nicholas...@gmail.com on 16 Jul 2009 at 9:03

GoogleCodeExporter commented 9 years ago
Updated in svn... 

Original comment by nicholas...@gmail.com on 17 Jul 2009 at 8:13

GoogleCodeExporter commented 9 years ago
This actually is a great idea, especially for a periodic monitoring script run 
from 
cron.

Here's my ideal:

memcache-top.pl --sleep 300 --once

The command would do a 300-second sample (in order to get reliable numbers), 
output 
the results with no formatting, then exit.

Original comment by jason%bu...@gtempaccount.com on 12 Aug 2009 at 12:20

GoogleCodeExporter commented 9 years ago
Check SVN, I added that functionality on a basic level a few weeks ago:
http://code.google.com/p/memcache-top/source/browse/trunk/memcache-top

I can adjust it to work w/ the sleep so it gathers more than a single "shot" of 
data.

Just a minor note, personally, I'd recommend running something an actual 
monitoring 
tool to monitor it, rather than using this in cron.  It's really intended to be 
an 
interactive cmd line tool, not a monitor - although I did hack together a quick 
Nagios plugin, if you're interested.

Original comment by nicholas...@gmail.com on 12 Aug 2009 at 1:19

GoogleCodeExporter commented 9 years ago
Ok, closing this, since I haven't heard anything negative back.  :)  Ping me if 
you 
want to reopen and still have problems.

Original comment by nicholas...@gmail.com on 29 Oct 2009 at 12:10

GoogleCodeExporter commented 9 years ago
Issue 4 has been merged into this issue.

Original comment by nicholas...@gmail.com on 18 Nov 2009 at 9:36

GoogleCodeExporter commented 9 years ago
I would be interested in your Nagios Plugin for Memcached. Can you send me any 
information on it?

thanx
Garry

Original comment by garryc...@gmail.com on 18 Jan 2011 at 9:57