Archive for the ‘gnu linux’ Category

 

/usr/local/bin/waitpid

April 26th, 2011

A quick script to wait for a certain pid, then once that quits, execute a command. You may ask, why not just do command1 && command2 ? Well, if command1 exits with a non-zero exit status value, command2 will not get executed. Hence, I’ve brewed a quick script for this purpose. File: /usr/local/bin/waitpid #!/bin/sh # [...]

Read full article | 11 Comments »

Coloured /var/log/messages at tty12

April 26th, 2011

Reading logs could never become any more easier, at just a keystroke, you have your logs displayed where you want, in some fancy colour. They look great too. TTY’s can be accessed by pressing Alt + Ctrl + F[1 - 12] simultaneously. In the following, you’ll get a decent, colourized log display of /var/log/messages when [...]

Read full article | 2 Comments »

QEMU | Quick Networking for TCP/UDP

March 31st, 2011

Networking with a guest in QEMU is often a headache, TUN/TAP, seriously? Too hectic, let’s stick to the basics, TCP/UDP based. Instead of setting up a really complex set of configuration files, wouldn’t it be easy to just emulate the network card, DHCP the guest, and let it work right out of the box? Well [...]

Read full article | 4 Comments »

visual basic 6 revisited – linux – wine

August 5th, 2010

Earlier this year, I had written an article on running Visual Basic 6 on linux under wine, this is an update for it, the prior one is depreciated Getting Visual Basic 6 to work on linux is pretty easy, not much trouble, all the basic things work, as of what I’ve tested. Here’s how you [...]

Read full article | 5 Comments »

CPU scaling governors and you

August 5th, 2010

What is your CPU being governed by? Should it be governed by it? Why? How? Here’s an outlook on the various CPU frequency governors, namely conservative, ondemand, powersave, userspace, and performance, that steps up and steps down the CPU: conservative Pros: very much alike the ondemand governor gracefully increases the stepping, unlike ondemand which sets [...]

Read full article | 1 Comment »