Posts Tagged ‘cool script’




by max on September 25th, 2008
Comments
Remember I did a quick post on how to write a load-balancing script (or bandwidth throttling)? Well, today I found another cool script for limiting bandwidth.  I believe this one if more complicated but if you need it, it might be greatly helpful. Here’s the code via Adamsinfo.com: # Set some variables #!/bin/bash EXT_IFACE=”eth0″ INT_IFACE=”eth1″ TC=”tc” UNITS=”kb ...
by max on July 28th, 2008
Comments
Well, I have been struggling with one of my dedicated servers and just found this cool script that will auto-restart the Apache httpd server if it goes out. Save the following as restart.sh: #!/bin/bash # Apache Process Monitor # Restart Apache Web Server When It Goes Down # ------------------------------------------------------------------------- # Copyright (c) 2003 nixCraft project & ...

Featured Sites From Zedomax Blog Network