R3721-F3210-F3171-HP High-End Firewalls Getting Started Command Reference-6PW101

14
display users
Syntax
display users [ all ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
all: Displays information about all user interfaces that the device supports.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started 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 users to display information about the user interfaces that are being used.
Use display users all to display information about all user interfaces supported by the device.
Examples
# Display information about the user interfaces that are being used.
<Sysname> display users
The user application information of the user interface(s):
Idx UI Delay Type Userlevel
0 CON 0 00:02:47 3
+ 49 VTY 0 00:00:00 TEL 3
Following are more details.
VTY 0 :
Location: 192.168.0.214
+ : Current operation user.
F : Current operation user work in async mode
The output shows that two users have logged in to the device. The one with IP address 192.168.1.54 uses
VTY 0, and the other with IP address 192.168.0.124 uses the console user interface.
Table 6 Command output
Field Descri
p
tion
Idx Absolute number of the user interface
UI
Relative number of the user interface. For example, with VTY, the first column
represents user interface type, and the second column represents the relative number of
the user interface.