exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display memory to display memory usage statistics.
If no IRF member switch is specified, the system displays the memory usage statistics for the master. If no
CPU is specified, the system displays memory usage statistics for the main CPU.
Examples
# Display memory usage statistics.
<Sysname> display memory
System Total Memory(bytes): 975653680
Total Used Memory(bytes): 67302472
Used Rate: 6%
Table 23 Command output
Field
System Total Memory(bytes)
Total Used Memory(bytes)
Used Rate
display reboot-type
Syntax
display reboot-type [ slot slot-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
2: System level
Parameters
slot slot-number: Displays the mode of the last reboot of an IRF member switch. The slot-number argument
represents the IRF member ID of the switch.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display reboot-type to display the mode of the last reboot.
Description
Total size of the system memory (in bytes)
Size of the memory used (in bytes)
Percentage of the memory used to the total memory
143