Archive

Posts Tagged ‘Linux’

xen vcpu pinning defaults aren’t ideal

September 1st, 2009 Chris Ganderton No comments

I noticed an oddity the other day with a xen Domain0 host we have. There’s a cron scripted job that verifies the RPM database and the RPM’s that are installed on the system, for some reason this job failed, but kept the process open, and kept spinning around trying to do it’s job. Now, I [...]

Categories: geek, Linux, xen Tags: , ,

removing blank newlines using sed.

February 17th, 2008 Chris Ganderton 1 comment

Most people won’t find this paticularly useful, but as I’m prone to forget things: sed -e ‘/^$/d’ will delete blank newlines from whatever it’s input is. Tags: geek, Linux, stuff

Categories: General Life Tags: , ,

the number of servers you run …

April 13th, 2007 Chris Ganderton No comments

Well reading popeys blog entry on how many servers he has, and what he uses them for made me feel a bit better than I did previously, about running more than one server of my own for personal use. I only have three servers, and a workstation and a laptop; maybe I don’t waste as [...]

cat can have some handy features too.

April 3rd, 2007 Chris Ganderton No comments

Another nifty thing I figured out a while ago, whilst having to upload a script written by one of the guys we support, in a windows editor, was how to check quickley and easily with cat(1)whether it had silly windows CR/LF’s : cat -ev /path/to/file Would output something like the following if the file had [...]

Categories: General Life, Linux Tags: , ,

sfdisk is quite handy

April 3rd, 2007 Chris Ganderton No comments

So today I had to basically clone a hard disk from a failing disk, to a new disk Sun had sent for one of the v20z’s at work… Haven’t not had to mess about with partition tables and other such things outside of the installer in linux for some time (last time I did this [...]

Categories: Linux Tags: , ,