Blog archive: Sysadmin

Listing the affected files in a Subversion revision

A quick trick that I'm finding very useful for those little deployments that don't require a full export of the Subversion repository. A little regex on the standard verbose output of the Subversion log like so:

svn log -r HEAD -v | egrep '^ +[A-Z]'

will output a list of the files included in the specified revision, e.g.:

M /trunk/apps/Feedback/views.py
A /trunk/fabfile.py

The letters "A", "M" or "D" denote whether the file was added, modified or deleted.

Continue reading »

Setting up Apache monitoring with Munin

After a few solid days of Linux server wrangling, I found getting Munin to monitor our Apache server more hassle than I thought it would be.

Salient system details:

  • Ubuntu Hardy
  • Nginx web server (port 80) proxy
  • Apache web server (port 8080)

Continue reading »

© 2018 Associative Trails Ltd. 4m@