Saturday, May 22, 2010

How to count the number of cores in a Linux machine

Use the following command:

cat /proc/cpuinfo | grep processor | wc –l

It is convenient to put it in a script which I will call, for example, ncores:

#!/bin/sh
cat /proc/cpuinfo | grep processor | wc –l

See enclosed screen shot:

ncores

Saturday, May 08, 2010

Firefox 3.6 beta is still buggy

My Firefox version 3.6.4 is eating a lot of memory and the longer it is kept open the more memory it consumes, probably a memory leak somewhere. It seems that the blame is on the Plug-ins with their buggy JavaScript codes. Any how the user experience is not as expected.
Enclosed a screen dump of the task manager after killing Firefox plugin-container.exe
Firefox_memory_bug
* This post was prepared using Microsoft’s Windows Live Writer.