Tuesday, May 18, 2010

How to calculate system memory utilization

To see a better estimation of how much memory is really free for applications to use, run the command free -m:



The -/+ buffers/cache line shows how much memory is used and free from the perspective of the applications. Generally speaking, if little swap is being used, memory usage isn't impacting performance at all.


Calculating Systems memory utilization:
On a server, the output of "free -m" is as follows:

                  total       used       free     shared    buffers     cached
Mem:           503        440         62          0        104        181
-/+ buffers/cache:      154        349
Swap:         1023          0       1023



The server's current memory usage is 154MB. The figure of "154" can be derived by the formula:
Total Memory - (Free + Buffers + Cached) = current total memory usage
503 - 62 - 104 -181 = 156 (very near to 154)
So, the memory utilization for the server would be 154/503*100= 30%.



The formula for calculating memory usage in percentage is as follow:
Total Physical Memory - (Memory Free + Memory Buffers + Cache Memory) = Result/Total Physical Memory * 100


To see the memory details in MB use: free -m
To see the memory details in byte use: free -b
source:http://www.gentoo-wiki.info/FAQ_Linux_Memory_Management

Thursday, May 6, 2010

IE losing battle in browser war


Microsoft once dominated the world of internet browsing, but yesterday their market share dropped to below 60% for the first time.

Internet Explorer became king of the browsers back in 1996 when Microsoft began bundling IE 2 with Windows 95, cutting off Netscape’s route to a viable market. Internet Explorer outsed technically superior product, and now it is  being beaten out by a number of technically superior products.

Firefox, the free browser from the Mozilla Foundation, has developed a reputation for being faster, more secure and more recently, more feature-packed and also allows developers to devlop add on's. Google’s Chrome is another enterant to the browser war, but it improves the Google browsing experience! The main reson of IE loosing battle is stubborn attitude and reluctance to comply with web standard. Ask any web developer about their experience with IE. [Be ready to hear some unpleasant words]

BROWSER MARKET SHARE

Internet Explorer - 59.9%
Firefox - 24.5%
Chrome - 6.7%
Safari - 4.7%
Opera - 2.3%
Opera Mini - 0.7%
Netscape - 0.46%
Mozilla - 0.16%
Flock - 0.06%
Lunascape - 0.04%

Source: Net Applications