With multicore CPUs it’s easy for newbies to get confused when faced with questions like;
1. How many physical CPUs does the server have?
2. How many cores on each CPU? Duo/Quad
In Linux it’s actually quite easy to get this info.
You could go through the /var/log/dmesg file or the /proc/cpuinfo file. For this tutorial we’ll look at the /proc/cpuinfo file.
Physical CPU count?
Run “cat /proc/cpuinfo | grep “physical id” | sort | uniq | wc -l”.
[root@bender ~]# cat /proc/cpuinfo | grep “physical id” | sort | uniq | wc -l
How many cores?
Run “cat /proc/cpuinfo | grep “cpu cores” | uniq”.
[root@kmigb000 ~]# cat /proc/cpuinfo | grep “cpu cores” | uniq
cpu coresÂ Â Â Â Â Â : 2
2 mean that each physical CPU has 2 cores on it. If cpu cores was 1 then the CPU’s single core.
How many virtual processors?
Run “cat /proc/cpuinfo | grep “^processor””
[root@bender ~]# cat /proc/cpuinfo | grep “^processor”
processorÂ Â Â Â Â Â : 0
processorÂ Â Â Â Â Â : 1
processorÂ Â Â Â Â Â : 2
processorÂ Â Â Â Â Â : 3
That’s about right, 2 physical CPUs x 2 cores each = 4 virtual processeors.
However, it’s a bit different for HT (Hyper-Threading). If you get cpu core = 1 but the virtual processors = 2 then the CPU’s running HT. HT will only work with the SMP kernel.
Google’s rolled out a new favicon. You like it?
It’s basicly a white “g” within a google colored canvas. Standing out from the crowd is the idea behind the white “g”.
The new design was inspired by user submissions, same as their previous favicon release back in June. The winning design this time came from AndrÃ© Resende, a computer science undergraduate student at the University of Campinas in Brazil.
A quick look at Google’s favicon history.
For those who don’t know, Matt Mullenweg is the guy behindAutomattic. The company behind the world’s most popular publishing platform WordPress (6 years old) and it’s accompanying services. Askimet, Gravatar, bbPress, IntenseDebate, BuddyPress and WordPress.com the free WordPress hosting service.
Today, Matt is amongst The 25 Most Influential People on the Web and 30 under 30 America’s Coolest Young Entrepreneurs . At only 25 Matt has managed to accomplish so much and there is still a long way to go.
Great stuff Matt and enjoy your 25th!
Souurce: Matt Mullenweg
This just in, Facebook has reached 150 million users world wide.
About 50% of it’s users log in everyday. Facebook’s users today range from students right up to grandparents, this is no surprise to me as everyone in my home has a Facebook account including my Dad who’s 63 this year. Facebook now covers over 170 countries in 35 different languages, anyone from anywhere on the globe can get a piece of Facebook in their own language.
There’s hardly anyone today who has not heard of Facebook. To some social networks seem overwhelming with the mountains of data being made available to them but not me, to me data drives our daily lives. With all the new web 2.0 services today plugging into Facebook, there is so much information waiting to be picked, and when you have great mediums like Facebook to simplify the process why not endorse it.
I don’t log in everyday but Facebook is quite important to me nowadays. I use it to keep in touch with friends and family, make business deals, follow interest groups, organize events and the list keeps growing.
If you’re not on Facebook the least you could do is take it for a spin. BEWARE!! IT’S HIGHLY ADDICTIVE 😀
Here’s a list of Hindu festivals for 2009 and their respective dates.
Vaikunta Ekadasi â€“ 7th January, 2009 Wednesday
Makar Sankranti â€“ 14th January, 2009 Wednesday
Pongal â€“ 14th January, 2009 Wednesday, 11.51am
Vasant Panchami â€“ Saraswati Puja â€“ 31st January, 2009 Saturday
Thai Pusam â€“ February 8, 2009 Sunday
Shivratri â€“ 23rd February, 2009 Monday
Holi â€“ March 10th, 2009 Tuesday
Ugadi (New Year in Karnataka and Andhra Pradesh) â€“ March 27th, 2009 Friday
Gudi Padva â€“ March 27th, 2009 Friday
Ram Navami â€“ 3rd April, 2009 Friday
Hanuman Jayanti â€“ 10th April, 2009 Driday
Chithirai 1 (Tamil New Year) â€“ 14th April, 2009 Tuesday
Vishu (Kerala) â€“ 14th April, 2009 Tuesday
New Year in Bengal and Assam â€“ 15th April, 2009 Wednesday
Akshaya Tritiya â€“ 27th April, 2009 Monday
Narasimha Jayanti â€“ 8th May, 2009 Friday
Puri Rath Yatra â€“ 24th June, 2009 Wednesday
Vyas Purnima, Guru Purnima â€“ 7th July, 2009 Tuesday
Raksha Bandan â€“ 5th August, 2009 Wednesday
Sri Krishna Janmashtami â€“ 14th August, 2009 Friday
Ganesh Chaturthi – 23rd August, 2009 Sunday
Thiru Onam – 2nd September, 2009 Wednesday
Navratri Begins â€“ 19th September, 2009 Saturday
Durga Ashtami â€“ 26th September, 2009 Saturday
Maha Navami â€“ 27th September, 2009 Sunday
Vijaya Dashami â€“ Dussehra â€“ 28th September, 2009 Monday
Karva Chouth â€“ 7th October, 2009 Wednesday
Deepavali â€“ Diwali â€“ 17th October, 2009 Saturday
Annakut â€“ Gujarati New Year â€“ 18th October, 2009 Sunday
Chhat Puja – 24th October, 2009 and 25th Saturday & Sunday
Tulsi Vivah â€“ 30th October, 2009 Friday
Sabarimala Mandala Kalam begins â€“ 16th November, 2009 Monday
Gita Jayanti â€“ 28th November, 2009 Saturday
Vaikunta Ekadasi â€“ 28th December, 2009 Monday
If you find a date to be wrong or if I missed out something please free to drop me a comment and I’ll update the post.