Year
2015
3 posts in this year
-
How to send you an email with your mysql slave seconds behind master value
2015-07-14
It's dead simple, just schedule a crontab with this line: mysql -u root -p -e "show slave status \G"|grep Seconds | mail -s "Seconds behind master" This will query the slave status, grep the most important line and send you an email. Hope...
-
How to query a memcache top using shell script
2015-06-12
In case you want to watch the most important parameters of your memcache installation you can use this basic shell script: watch "echo stats | nc 127.0.0.1 11211 |grep -v conn_yields |grep -v time|grep -v cmd|grep -v threads \ |grep -v...
-
Resum de l'any 2014
2015-01-07
Com cada any publico un resum del que ha estat el 2014 en diferents categoríes, sobretot com a recordatori personal. No edito gaire perquè els nens estàn a punt de llevar-se :) Gadgets of the year (comprats o regalats): Xarxa PLC amb Wifi...