display users
Use
display users
Syntax
display users [ all ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
: Displays all user lines supported by the device.
all
Examples
# Display online user information.
<Sysname> display users
Idx
Line
+ 10
VTY 0
12
VTY 2
Following are more details.
VTY 0
:
User role list: network-admin network-operator
Location: 192.168.1.107
VTY 2
:
User role list: level-0 network-admin network-operator
Location: 192.168.1.134
+
: Current operation user.
F
: Current operation user works in async mode.
Table 8 Command output
Field
Idx
Line
Idle
Time
Pid
Type
+
to display online CLI users.
Idle
Time
00:00:00
Jan 01 00:33:10
00:06:22
Jan 01 00:33:22
Description
Absolute number of the user line.
Type and relative number of the user line.
Time elapsed after the user's most recent input, in the hh:mm:ss format.
Login time of the user.
Process ID of the user session.
User type:
•
TEL—Telnet user.
•
SSH—SSH user.
•
For a user who logged in through the console or USB port, this field does not display
anything.
User line you are using.
Pid
Type
484
TEL
495
TEL
14