display mdc resource
Use display mdc resource to display the CPU, disk space, and memory usage of the current MDC.
Syntax
In standalone mode:
display mdc resource [ cpu | disk | memory ] [ slot slot-number [ cpu cpu-number ] ]
In IRF mode:
display mdc resource [ cpu | disk | memory ] [ chassis chassis-number slot slot-number [ cpu
cpu-number ] ]
Views
Any view
Predefined user roles
mdc-admin
mdc-operator
Parameters
cpu: Displays the CPU usage.
disk: Displays the disk space usage.
memory: Displays the memory space usage.
slot slot-number: Specifies a card. If you do not specify this option, the command displays the usage
on all cards. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. If you do not
specify this option, the command displays the usage on all cards in the IRF fabric. (In IRF mode.)
cpu cpu-number: Specifies a CPU by its number. If you do not specify this option, the command
displays the usage on CPU 0.
Examples
# (In standalone mode.) Display the CPU, disk space, and memory space usage of the MDC on all
cards.
<sub1> display mdc resource
Memory usage:
slot 0 CPU 0:
Used 21.8MB, Free 687.0MB, Total 708.8MB
ID
Name
2
sub1
slot 7 CPU 0:
Used 378.8MB, Free 7565.9MB, Total 7944.6MB
ID
Name
2
sub1
CPU usage:
slot 0 CPU 0:
ID
Name
2
sub1
slot 7 CPU 0:
ID
Name
2
sub1
Quota(MB)
Used(MB)
708.8
4.8
Quota(MB)
Used(MB)
7944.6
45.6
Weight
Usage(%)
2
0
Weight
Usage(%)
2
0
56
Available(MB)
687.0
Available(MB)
7565.9