Showing posts with label system. Show all posts
Showing posts with label system. Show all posts

Friday, January 7, 2011

telnet ile memcach'e bağanıp test etmek istersen

Bağlanmak için (host port):
telnet 192.168.200.12 11211
Bir key'e değer atamak :
set testkey 1 0 11 Hello world 
1 : flag (arbitrary metadata),
0 : expiry (ie. never expire) 
11 : expect the value 11 bytes long
bir değeri almak
get testkey
Çıkış
quit
Diğer komutlar
stats  
stats items  
stats slabs  
delete  
replace  
add
http://11x.blogcu.com/telnet-ile-memcache-test-etmek/9427166

Friday, December 24, 2010

monitoring active connections

watch -n .5  "netstat -an | grep ESTABLISHED"

Friday, December 17, 2010

monitoring sphinx status

watch -n .5 /opt/sphinx/bin/searchd --status