Header Only - DO NOT REMOVE - Extreme Networks

Memory Utilization in Summit Switch


how to calculate memory utilization in summit switch?

4 replies

Userlevel 7
Hi,

show memory is one way to find that info.
show memory

System Memory Information
-------------------------
Slot-2 Total DRAM (KB): 262144
Slot-2 System (KB): 7488
Slot-2 User (KB): 176048
Slot-2 Free (KB): 78608

in this i can see only the fixed memory, how to calculate the real time memory utilization?
Userlevel 6
Hi Svven,

you could use the command "top" and press to sort all the processes by memory utilization.

Sample output:

Mem: 390440K used, 593748K free, 0K shrd, 2908K buff, 156776K cached
CPU: 0.0% usr 2.6% sys 0.0% nic 97.1% idle 0.0% io 0.1% irq 0.0% sirq
Load average: 7.02 7.05 7.00 3/195 1909
PID PPID USER STAT RSS %MEM CPU %CPU COMMAND
1508 1 root S < 15236 1.5 0 0.5 ./hal
1512 1 root S 11420 1.1 0 0.0 ./cliMaster
1669 1 root S 7472 0.7 0 0.0 ./policy
1522 1 root S 7396 0.7 1 0.0 ./aaa -t random
1602 1 root S 5100 0.5 1 0.0 ./netTools
1633 1 root S 4652 0.4 1 0.0 ./xmld
1520 1 root S 4508 0.4 1 0.0 ./snmpSubagent[/code]Process hal consumes 1.5% which can be used to calculate the approximate memory consumption of the process.

sh memory process hal
System Memory Information
-------------------------
Total DRAM (KB): 1048576
System (KB): 64388
User (KB): 237196
Free (KB): 746992

Memory Utilization Statistics
-----------------------------
Process Name Memory (KB)
-----------------------------
hal 15236
[/code]
15236 is 1.5% of 1048576.
Hope this helps!
Thanks Prasanth.

The Total utilization of my switch is 82.98%. Is this a normal utlization for summit x450a-48t ?

Reply