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:
user@host>editEntering configuration modeuser@host>show system users4:58PM PST up 5 days, 9:52, 5 users, load averages: 0.01, 0.01, 0.00USER TTY FROM LOGIN@ IDLE WHATmwazna 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 clitaffy p3 bigpunk.juniper.net 3:28PM 5 -cli (cli)tmauro p4 bigpunk.juniper.net 4:16PM 37 cliWhat 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 (TTY—p0,p1,p2,p3, andp4) from the systembigpunk.juniper.net. A hyphen in theFROMfield 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).