Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1685

March 8th, 2010 15:00

top command on Brocade Switches

Hi

Let me tell you that i Use the top command in  order to know the peformance in my switch, but i dont know what it shows

Does any one know what cached means or explain me the meaning of Mem, due to I'am worry about the free memoria, do i have a lack memory problem? or i use the Cached

Best regards

top - 05:28:25 up 77 days, 23:57,  1 user,  load average: 0.12, 0.06, 0.02

Tasks: 106 total,   1 running, 105 sleeping,   0 stopped,   0 zombie


Cpu(s):  0.3%us,  1.3%sy,  0.0%ni, 98.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st


Mem:    507820k total,   458828k used,    48992k free,     8396k buffers ------------------------------------> What it means


Swap:        0k total,        0k used,        0k free,   230000k cached   ----------------------------------------> what it means


71 Posts

July 7th, 2010 05:00

Hi Guanabacoa,

As you may be aware that the Brocade FOS usue a kernal, similar to the Unix kernal, therefore many of the unix legacy commands are also available here, 'top', command being one of them. Apart from other things the 'top', command shows the, cpu and memory utilization, and a list of the top consumers of both.

Coming to your question, both buffers and cached, are part of the physical memory, and in the output here, they are part of the 'used', memory. Buffers show the amount of RAM alloted to cache disk block. Cached shows the amount of RAM being used for recently accessed data, both may increase & decrease as per the requirement of the kernal. Free RAM is seemingly less because its the area of RAM which is neither occupied by the applications nor the cache, however if a need arises by applications the kernal may take away some of the cache area for the applications and the cache will shrink in size. Kernal keeps large allocated spaces for these to enhance the performance but uses internal logic to resize them as per the needs and priorities. From the output, it does not seem to be a shortage memory, this is how it is in most of such systems.

No Events found!

Top