OcNOS-SP : System Management Guide : System Management Command Reference : Basic Commands : show users
show users
Use this command to display information about current users.
Command Syntax
show users
Parameters
None
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show users
Current user : (*). Lock acquired by user : (#).
CLI user : [C]. Netconf users : [N].
Location : Applicable to CLI users.
Session : Applicable to NETCONF users.
 
Line User Idle Location/Session PID TYPE Role
(*) 130 vty 0 [C]root 00:00:36 pts/0 20872 Local network-admin
(#) NA [N]root NA 1 NA NA network-admin
NA [N]root NA 2 NA NA network-admin
131 vty 1 [C]joyce 00:00:26 pts/1 17593 Remote network-admin
Table 1-12 explains the output fields.
 
Table 1-12: show users fields
Entry
Description
Current users
 
CLI user
 
Location
 
Session
 
Lock acquired by user
 
Netconf users
 
Line
 
User
User name.
Idle
How long the user has been idle.
Location/Session
 
PID
Process identifier name.
Type
 
Role
 
Last modified date: 10/19/2023