solr index command

July 27th, 2015 No comments

Not sure if there is another better way to do it.
But I wrote this script to perform full or delta imports.
more details

Continue reading “solr index command” »

Categories: HowTo Tags:

How to find what process are using Swap

July 23rd, 2015 No comments

How to find what process are using Swap

/proc/meminfo – This file reports statistics about memory usage on the system. It is used by free to report the amount of free and used memory (both physical and swap) on the system as well as the shared memory and buffers used by the kernel. You can also use free, vmstat and other tools to find out the same information.

Continue reading “How to find what process are using Swap” »

Categories: Linux Tags: , ,

android 4.4.4 how to hard reset factory moto g

June 29th, 2015 No comments

To hard reset the Motorola Moto G Android 4.4.4
Make sure the phone has over 50% of battery, remove the SIM card

Continue reading “android 4.4.4 how to hard reset factory moto g” »

Categories: Uncategorized Tags: , , , ,

varnishadm ban

June 24th, 2015 No comments

When cleaning the cache on varnish 3.0 there is a way to only ban the specific host.

The command is:

Continue reading “varnishadm ban” »

Categories: Varnish Tags: , , , , , ,

How to get varnish client.ip behind ELB

June 19th, 2015 No comments

How to get varnish client.ip behind ELB

I needed to filter access by IP using varnish acl, but when your varnish is behind a Amazon ELB Load Balancer, by default it doesn’t work, so here is the solution! Tested using Linux Amazon Linux AMI release 2015.03

Continue reading “How to get varnish client.ip behind ELB” »

nagios vmware esx plugin

May 26th, 2015 No comments

The best script to monitor VMWare ESX using nagios was
developed by Steve Shipway.

Continue reading “nagios vmware esx plugin” »

Categories: HowTo, Linux, Nagios Tags: , , , ,

solr peformance

May 25th, 2015 No comments

How to monitor Solr performance under Tomcat.

I keep track of how many access and the performance, based on response time.
For this I have 2 scripts:

Continue reading “solr peformance” »

Categories: Linux Tags: , , ,


May 25th, 2015 No comments

I use the good old awstats to find out how may site hits and usage is going.
Also google analytics…

Continue reading “awstats” »

Categories: Linux Tags:

linux two interfaces same subnet

February 27th, 2015 No comments

On RHEL6 and RHEL7 once you add a second interface on the same subnet, it does not work ( no ping)
The cause of the problem is a change on the parameter rp_filter

Continue reading “linux two interfaces same subnet” »

Categories: HowTo, Windows Tags: , , ,

sudo apt-get update behind proxy

February 26th, 2015 No comments

When using sudo apt-get update behind a proxy you must do
Defaults env_keep = “http_proxy https_proxy ftp_proxy DISPLAY XAUTHORITY”

Categories: HowTo, Linux Tags: , , , , ,