[Contents] [Prev] [Next] [Index] [Report an Error]


Check for Users in Configuration Mode

Purpose

Before you change the configuration or commit a candidate configuration, it is a good idea to check for users in configuration mode.

Action

To display users currently editing the configuration, follow these steps:

  1. To enter configuration mode, type the following command:
  2. user@host> edit
    
    
    

For example:

user@host> edit 
Entering configuration mode

  1. Enter the following configuration mode command:
  2. [edit]
    
    user@host# status
    
    
    

For example:

user@host> show system users 
4:58PM PST up 5 days,  9:52, 5 users, load averages: 0.01, 0.01, 0.00
USER     TTY      FROM                              LOGIN@  IDLE WHAT
mwazna   p0       bigpunk.juniper.net              4:58PM      - -cli (cli)    
jgchan   p1       bigpunk.juniper.net              2:25PM   2:32 -csh (csh)    
jgchan   p2       bigpunk.juniper.net              2:35PM   2:18 cli           
taffy    p3       bigpunk.juniper.net              3:28PM      5 -cli (cli)    
tmauro   p4       bigpunk.juniper.net              4:16PM     37 cli 

What It Means

The sample output lists the users who are currently logged in to the router. Five users are logged in to the router, with one user logged in twice, jgchan. Each user is logged in through a different terminal (TTYp0, p1, p2, p3, and p4) from the system bigpunk.juniper.net. A hyphen in the FROM field indicates that the user logged in through the console.

Additional information includes the time when the user logged in (LOGIN), the amount of time the user is not active on the router (IDLE), and the processes that the user is running (WHAT). In this example, the users are running the command-line interface (cli) and the UNIX-level shell (csh).


[Contents] [Prev] [Next] [Index] [Report an Error]