I think usecolor in config file is usable. Anybody can remove it from config without any errors. Yes, I'm using round($float,2) > the if's, elseifs are insane What's wrong? ;-)
On 24 апр, 14:13, Jose Celestino <[email protected]> wrote: > On Sex, 2009-04-24 at 02:51 -0700, gf wrote: > > > I've uploaded new version moments ago. It uses internal communication > > class now. > > enable_color on the config file is wrong > you should trim the decimal part to something sane (say 2 characters) > cleaning the screen would be nice > the if's, elseifs are insane > > > > > On 23 апр, 22:55, "Gavin M. Roy" <[email protected]> wrote: > > > Hi there, > > > > You might want to consider using direct socket communication for this > > > instead of relying on having a specific memcache PECL library > > > installed. Since you're just relying on the stats command which is > > > very easy to parse for. Also you might consider the switch statement > > > instead of the big line of if and elseif's. > > > > Otherwise it looks good, thanks for the additional version of this app. > > > > Gavin > > > > On Thu, Apr 23, 2009 at 7:09 AM, gf <[email protected]> > > > wrote: > > > > > Hello. I enjoy an idea of memcache monitoring utility. > > > > So I wrote mctop (http://code.google.com/p/mctop/). > > > > It provides some statistics of memcache cluster online. Very useful > > > > for monitoring and debugging purposes. > > > > Thanks to Nicholas for an idea. > > > > Welcome any comment and suggestions. > > -- Jose Celestino SAPO.pt::Systemshttp://www.sapo.pt > --------------------------------------------------------------------- * > Progress (n.): The process through which Usenet has evolved from smart > people in front of dumb terminals to dumb people in front of smart > terminals.
