
4
display >
Use
display
>
to save the output from a
display
command to a separate file.
Syntax
display
command
> filename
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
command
: Specifies the keywords and arguments of a
display
command. To display available
keywords and arguments, enter
display ?
.
filename
: Specifies the name of the file that is used to save the output, a string of 1 to 63 characters.
Usage guidelines
The
display
commands show the configuration, statistics, and states of the device. You can use the
display
>
command to save the output to a file.
If the specified file does not exist, the system creates the file and saves the output to the file. If the file
already exists, the system overwrites the file.
Examples
# Save CPU usage information to a separate file named
cpu.txt
.
<Sysname> display cpu-usage > cpu.txt
# Verify the content of the
cpu.txt
file.
<Sysname> more cpu.txt
Slot 1 CPU 0 CPU usage:
13% in last 5 seconds
13% in last 1 minute
13% in last 5 minutes
display >>
Use
display
>>
to append the output from a
display
command to the end of a file.
Syntax
display
command
>> filename
Views
Any view
Predefined user roles
network-admin
network-operator
Содержание S5830V2 series
Страница 23: ...11 System View return to User View with Ctrl Z Sysname...
Страница 167: ...155 Related commands display startup...