• Unix

    Web Metrics

    The key to getting good performance is metrics. You need to measure every aspect of a system as it’s running to determine where the problems are and to prioritize where to expend optimization effort.  Particular metrics of interest are: Queue sizes Queue rates # of clients (by IP and by connection count) # of pending requests average response rate throughput

  • Mac OS X,  Mac OS X Server,  Unix

    The basics of cron

     The cron command has officially been deprecated in Mac OS X, but still functions if called upon. cron starts a process that executes commands at specified dates and times. Regularly scheduled commands can be specified according to instructions found in the crontab files in the directory /var/spool/cron/crontabs. Users can submit their own crontab files via the crontab command.  Crontab copies the specified file or standard input if no file is specified, into a directory that holds all users’ crontabs.  crontab options: The -e option edits a copy of the current users’ crontab file or creates an empty file to edit if crontab does not exist. The-r option removes a user’s…

  • Mac OS X,  Ubuntu,  Unix

    Working Directory

    When I say working directory I am referring to the current directory you are in when using a command prompt.  Just an FYI.  If you are ever unsure as to what your working directory is then you can use the pwd command to print it out to the screen.

  • Ubuntu,  Unix

    Quick Install of Squid and Dans Guardian

    To get Squid and Dans Guardian: apt-get install squid dansguardian To backup the squid config file: cp /etc/squid/squid.conf /etc/squid/squid.conf.bak To make it transparent, uncomment this line from the squid.conf file: http_port 127.0.0.1:3128 transparent Add this on the next line: http_port 8080 Next, backup the dansguardian config file using the following command: cp /etc/dansguardian/dansguardian.conf /etc/dansguardian/dansguardian.conf.bak Then change 8080 to 8081 Then change filtergroups to = 2 rather than the default of 1 You can then install the webmin module from: http://internap.dl.sourceforge.net/sourceforge/dgwebminmodule/dg-0.5.10-pr5.wbm