Archive for the ‘General’ Category.

Uttrakhand Trip August 2010

Some of the pics I clicked while on a trip to Uttrakhand.

Aksharmdham Temple at night

Coiambatore trip

Recently undertook a trip to Coimbatore

FreeBSD having minute long delays on Nehalem machines

If you are running FreeBSD over the latest Intel Nehalem cpu’s, you might find the boot process to have a minute long delay. Try settings the following value in /boot/device.hints:

hint.atkbdc.0.disabled=”1″
hint.atkbd.0.disabled=”1″

Amitabh

“free” command to determine ram/memory usage in FreeBSD

People moving from Linux to FreeBSD get confused when they need to determine ram/memory usage. Although there is no equivalent command, there is a nice perl script located at http://people.freebsd.org/~rse/dist/freebsd-memory. Just download and run the perl script, and it gives a formatted output of your memory status. Something like:

# fetch http://people.freebsd.org/~rse/dist/freebsd-memory
# perl freebsd-memory

In case  you need to mimic the linux command, simply set the execution bit and move it to bin.

# fetch -o /usr/local/bin/free http://people.freebsd.org/~rse/dist/freebsd-memory
# chmod +x /usr/local/bin/free

You should now be able to use “free” command without any problems from anywhere within your system.

Amitabh Kant