CLI Reference Guide Memory Configuration Commands
Use this command to view the current system memory
state and usage information, including the system physical
memory amount, the number of free pages in the current
system, the free memory statistics.
This example shows the running result of the command show
memory.
Ruijie#show memory
System Memory Statistic:
Free pages: 1079
watermarks : min 379, lower 758, low 1137, high 1516
System Total Memory : 128MB, Current Free Memory : 5283KB
Used Rate : 96%
The above information includes the following parts:
1. Free pages: the memory size of one free page is about 4k;
2. Watermarks(see the following table)
The memory resources are extremely
insufficient. It can only keep the kernel
running. All application modules fails to run
if the minimum watermark has been
reached.
The memory resources are severely
insufficient. One routing protocol will
auto-exit and release the memory if the
lower watermark has been reached. For
the details, see the memory-lack
exit-policy command.
The memory resources are insufficient.
The routing protocol will be in OVERFLOW
state if the low watermark has been
reached. In the overflow state, the routers
do not learn new routes any more. The
commands are not allowed to be executed
when the memory lacks.
The memory resources are sufficient.
Each routing protocol attempts to restore
the state from OVERFLOW to normal.
3. System total memory, current free memory and used rate.