Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show system users

Syntax

Syntax (TX Matrix Router)

Syntax (TX Matrix Plus Router)

Syntax (MX Series Router)

Description

List information about the users who are currently logged in to the router or switch.

Note:

The show system users command lists the information about administrative users that are logged in to a router or switch using the CLI, J-Web, or an SSH client. The output does not list information about web users or automated users that are logged in from a remote client application using Junos XML APIs, such as NETCONF.

Options

none

List information about the users who are currently logged in to the router or switch.

all-chassis

(TX Matrix routers and TX Matrix Plus routers only) (Optional) Show users currently logged in to all the routers in the chassis.

all-lcc

(TX Matrix routers and TX Matrix Plus routers only) (Optional) On a TX Matrix router, show users currently logged in to all T640 routers (or line-card chassis) connected to the TX Matrix router. On a TX Matrix Plus router, show users currently logged in to all connected T1600 or T4000 LCCs.

all-members

(MX Series routers only) (Optional) Display users currently logged in to all members of the Virtual Chassis configuration.

lcc number

(TX Matrix routers and TX Matrix Plus routers only) (Optional) On a TX Matrix router, show users currently logged in to a specific T640 router that is connected to the TX Matrix router. On a TX Matrix Plus router, show users currently logged in to a specific router that is connected to the TX Matrix Plus router.

Replace number with the following values depending on the LCC configuration:

  • 0 through 3, when T640 routers are connected to a TX Matrix router in a routing matrix.

  • 0 through 3, when T1600 routers are connected to a TX Matrix Plus router in a routing matrix.

  • 0 through 7, when T1600 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix.

  • 0, 2, 4, or 6, when T4000 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix.

local

(MX Series routers only) (Optional) Display users currently logged in to the local Virtual Chassis member.

member member-id

(MX Series routers only) (Optional) Display users currently logged in to the specified member of the Virtual Chassis configuration. Replace member-id with a value of 0 or 1.

no-resolve

(Optional) Do not attempt to resolve IP addresses to hostnames.

scc

(TX Matrix routers only) (Optional) Show users currently logged in to the TX Matrix router (or switch-card chassis).

sfc number

(TX Matrix Plus routersonly) (Optional) Show users currently logged in to the TX Matrix Plus router. Replace number with 0.

Additional Information

By default, when you issue the show system users command on the primary Routing Engine of a TX Matrix router or a TX Matrix Plus router, the command is broadcast to all the primary Routing Engines of the LCCs connected to it in the routing matrix. Likewise, if you issue the same command on the backup Routing Engine of a TX Matrix or a TX Matrix Plus router, the command is broadcast to all backup Routing Engines of the LCCs that are connected to it in the routing matrix.

Required Privilege Level

view

Output Fields

Table 1 describes the output fields for the show system users command. Output fields are listed in the approximate order in which they appear.

Table 1: show system users Output Fields

Field Name

Field Description

time and up

Current time, in the local time zone, and how long the router or switch has been operational.

users

Number of users logged in to the router or switch.

load averages

Load averages for the last 1 minute, 5 minutes, and 15 minutes.

USER

Username.

TTY

Terminal through which the user is logged in.

FROM

System from which the user has logged in. A hyphen indicates that the user is logged in through the console.

LOGIN@

Time when the user logged in.

IDLE

How long the user has been idle.

WHAT

Processes that the user is running.

Sample Output

show system users

show system users lcc no-resolve (TX Matrix, TX Matrix Plus Router)

show system users (TX Matrix Plus Router)

show system users (QFX Series)

show system users no-resolve (QFX Series)

Release Information

Command introduced before Junos OS Release 7.4.

sfc option introduced for the TX Matrix Plus router in JUNOS OS Release 9.6.