Check Users Logged In To a Router
Purpose
You may need to take note of the users currently logged in to a router.
Action
To list all users who are currently logged in to a router, enter the following JUNOS command-line interface (CLI) operational mode command:
user@host>show system usersSample Output
user@host>show system users1:49PM PDT up 6:44, 3 users, load averages: 0.00, 0.00, 0.00USER TTY FROM LOGIN@ IDLE WHATjgchan p0 big.company.net 1:36PM 12 -csh (csh)user p1 pink.company.net 1:49PM - -cli (cli)blue p2 level5.company.net 2:30PM - -cliWhat It Means
The sample output lists information about the users who are currently logged in to a router. There are three users, one of whom has not recently accessed the router. Two of the users are running the CLI, and one is working from the UNIX-level shell (csh). Figure 45 lists and describes the fields in the output of the
show system userscommand.
Table 46: Description of Output Fields for the show system users Command