Sorry, I should have mentioned that, in case you didn't guess, these machines are running Linux. Hopefully, that doesn't matter, given that I want to write the code in Ruby, but it might suggest a completely different approach to someone.