Another round of Gentoo fun

A little while back I did an "emerge system" on my VPS and didn't think much more about it.  First time back to the box today to emerge something else, and was greeted with this: >>> Unpacking source... >>> Unpacking traceroute-2.0.15.tar.gz to /var/tmp/portage/net-analyzer/traceroute-2.0.15/work touch: setting times of `/var/tmp/portage/net-analyzer/traceroute-2.0.15/.unpacked': No such file or directory ...and the … Continue reading Another round of Gentoo fun

Nagios service check for IAX

I've been using Nagios for ages to monitor the Crossed Wires campus network, but it's fallen into a little disrepair.  Nothing worse than your monitoring needing monitoring...  so I set about tidying it up. Network topology changes, removal of old kit, and some fixes to service checks no longer working correctly. One of the problems … Continue reading Nagios service check for IAX

The difference between pipe and redirection

Newcomers to UNIX-like operating systems are often confused by the difference between the shell operations pipe and redirection. The difference is easily explained with an example, in the context of web development. The shell command echo "st=1" | ./lifeswork.pl shows how a pipe is used to supply command line input to a script usually invoked … Continue reading The difference between pipe and redirection