So last week I screwed up in a royal fashion. I caused 1 core on 12,000 servers to be running at 100% with a zombie process. In conversation with a friend he asked “So how many BogoMIPS were you wasting?”, of course I had to find out.
So I grepped out the first core on each box’es BogoMIPS value and summed it up.
Per second: 61099300 BogoMIPS
If you take that figure and multiply it up for 12 hours.
Total: 2639489760000 Million Instructions
For more information on BogoMIPS please see this nice FAQ.
If like me you like to pipe things around in the shell then when I looked at aircrack-ng I wanted to script using it. Therefore I wrote a simple patch for the current version that disables buffering to allow the stdout/err to act like they are writing to a log file so good for timely greping around in a bash script. Once I have my WEP scripts polished I will post them up.
You can find the patch here.
I often work on many machines and end up with multiple sessions to each. Therefore I finally got around to checking out the ControlMaster and ControlPath configuration of ssh. I added the following to my ~/.ssh/config which is for a virtual machine I use on my laptop, so no network issues in play.
Then in a terminal I ran the following, twice. Once on its own then with an ssh session running in another terminal.
for X in `seq 1 5`; do time ssh vm "pwd; uptime; hostname;" >/dev/null; done;
Without avg.: 0.268s
With avg.: 0.035s
I think that is quite impressive.
For the raw terminal output, please see here.
Of course you can do this dynamically.
Then each socket will be used only when the user, host and port are the same.
Well would be apart from hosing the box within 3 hours.
Once Xen is up an running, mini boxes will be doing it all.
Update: An image I took a while back.
Chinatown Lanterns Jan 2009
With the release of Java SE 6 Update 12. Linux users can finally enjoy a seem-less (we hope) browsing experience. Up until now for certain Java Plugin’s or Java Web Start they were stuck using a 32bit browser with Emulation 32->64bit libraries, now that comes to an end!
So I said I would do it and here is is. The current and as I update it kernel configuration for the eee PC 901.
I currently have NOT got the ethernet or bluetooth working, I actually havn’t even started to get the bluetooth working, but ethernet doesn’t seem to want to work. If anyone has any ideas, then hit me up!