display memory-threshold

Use display memory-threshold to display memory alarm thresholds and statistics.

Syntax

In standalone mode:

display memory-threshold [ slot slot-number [ cpu cpu-number ] ]

In IRF mode:

display memory-threshold [ chassis chassis-number slot slot-number [ cpu cpu-number ] ]

Views

Any view

Predefined user roles

network-admin

mdc-admin

Parameters

slot slot-number: Specifies a card by its slot number. If you do not specify this option, the command displays the memory alarm thresholds and statistics for the active MPU or switching fabric module. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device by its slot number and the member ID. If you do not specify this option, the command displays the memory alarm thresholds and statistics for the global active MPU or switching fabric module. (In IRF mode.)

cpu cpu-number: Specifies a CPU by its number. The cpu-number argument must be 0.

Usage guidelines

For more information about memory alarms, see log information containing MEM_EXCEED_THRESHOLD or MEM_BELOW_THRESHOLD.

Examples

# Display memory alarm thresholds and statistics.

<Sysname> display memory-threshold
Memory usage threshold: 100%                                                    
Free memory threshold:
    Minor: 96M
    Severe: 64M
    Critical: 48M
    Normal: 128M
Current memory state: Normal
Event statistics:
 [Back to normal state]
    First notification: 0.0
    Latest notification: 0.0
    Total number of notifications sent: 0
 [Enter minor low-memory state]
    First notification at: 0.0
    Latest notification at: 0.0
    Total number of notifications sent: 0
 [Back to minor low-memory state]
    First notification at: 0.0
    Latest notification at: 0.0
    Total number of notifications sent: 0
 [Enter severe low-memory state]
    First notification at: 0.0
    Latest notification at: 0.0
    Total number of notifications sent: 0
 [Back to severe low-memory state]
    First notification at: 0.0
    Latest notification at: 0.0
    Total number of notifications sent: 0
 [Enter critical low-memory state]
    First notification at: 0.0
    Latest notification at: 0.0
    Total number of notifications sent: 0