Useful varnishlog commands
varnishtop -i TxStatus Log client requests (you can also add :503 to check only for 503 being returned to a client varnishncsa -F "%r %s" | grep "…
varnishtop -i TxStatus Log client requests (you can also add :503 to check only for 503 being returned to a client varnishncsa -F "%r %s" | grep "…
Here is one of the few minimum configurations I like to have on my personal .bashrc file export PS1="\[\033[0;36m\]{\[\033[0;50m\]\w/\[\033[0;36m\]} \[\033[0;32m\]what now… \[\033[0;39m\]" Ok, mac doesn’t have a proper…
To improve your cache hit ratio, the best thing to do is to use varnishtop to see the URIs that are the most often fetched from the back…
GET -Used http://localhost:80/ HEAD and GET are the same lwp-request tool. HEAD replies with HTTP headers, while GET returns everything. In this case: -U prints the request headers…
There are different ways, I like is: echo "ServerName localhost" | sudo tee /etc/apache2/conf.d/fqdn append text to a file echo "ServerName localhost-appended" | sudo tee -a /etc/apache2/conf.d/fqdn
Go to LaunchAgents folder cd ~/Library/LaunchAgents Remove or rename com.adobe.ARM.whatevernumberisthis.plist you can also check what it contains to see if it is the right one. –Updated Only manually…
netstat -nltp where -n Displays active TCP connections, however, addresses and port numbers are expressed numerically and no attempt is made to determine names. -l Show only listening…
If you want the TAB completion to be case-insensitive, like it is in MS-DOS for instance, you can in your ~/.inputrc set: set completion-ignore-case On Now, BASH will…
I’m sure you have one time or another wondered where all the magic is happening on your servers. Anything from how and why the logs are rotated, why…
…and the world strarted to turn to 64 bits OSs. The popular argument is that a 64bit operating system could address more memory than the ~3.5GB 32bit OSs…