Vita senza nomi.
Il metodo di preparazione rapida di installazione USB Flash per essere installato FreeBSD netcat - promemoria.
29 novembre

Stato:

 1 
 2 
 3 
 4 
  echo stats | nc 127.0.0.1 11211 
  echo statistiche oggetti | nc 127.0.0.1 11211 
  echo statistiche taglie | nc 127.0.0.1 11211 
  echo statistiche lastre | nc 127.0.0.1 11211 

 1 
  telnet 127.0.0.1 11211 
 1 
  statistiche 
 1 
  chiudere 

Come in alto:

 1 
  guardare "eco stats | 11211 nc 127.0.0.1" 

Utilizzare PHP:

 1 
  '$m=new Memcache;$m->connect("127.0.0.1", 11211);print_r($m->getstats());' "'" watch 'php-r' " '"' $ m = new Memcache; $ m-> connect ( "127.0.0.1", 11211); print_r ($ m-> getstats ());' " '" 

Condividi / Salva

Tag: sviluppo, FreeBSD, Fun, Life, Linux, Memcache, memcached, php, lo status, telnet, Ubuntu, Unix

Related posti

Lascia un Commento