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

show system users

Syntax

show system users
<no-resolve>

Syntax (TX Matrix Router)

show system users
<all-chassis |all-lcc | lcc number |scc>
<no-resolve>

Syntax (TX Matrix Plus Router)

show system users
<detail>
<all-chassis |all-lcc | lcc number | sfc number> <no-resolve>

Release Information

Command introduced before JUNOS Release 7.4.

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

Description

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

Options

none — List information about the users who are currently logged in to the router.

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

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

lcc number(TX Matrix and TX Matrix Plus routers only) (Optional) On a TX Matrix router, show users currently logged on to a specific T640 router that is connected to the TX Matrix router. On a TX Matrix Plus router, show users currently logged on to a specific T1600 router that is connected to the TX Matrix Plus router. Replace number with a value from 0 through 3.

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

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

sfc number(TX Matrix Plus routers only) (Optional) Show users currently logged on to the TX Matrix Plus router (or switch-fabric chassis). Replace number with 0.

Additional Information

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

Required Privilege Level

view

List of Sample Output

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

Output Fields

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

Table 138: show system users Output Fields

Field Name

Field Description

time and up

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

users

Number of users logged in to the router.

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

user@host> show system users
 7:30PM  up 4 days,  2:26, 2 users, load averages: 0.07, 0.02, 0.01
USER     TTY FROM              LOGIN@  IDLE WHAT
root     d0  -                Fri05PM 4days -csh (csh)
blue   p0 level5.company.net 7:30PM     - cli

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

user@host> show system users lcc 2 no-resolve
lcc2-re0:
--------------------------------------------------------------------------
10:34AM PDT up 1 day,  7:11, 5 users, load averages: 0.03, 0.01, 0.00
USER     TTY      FROM                              LOGIN@  IDLE WHAT
root     d0       -                                3:21AM   7:12 /bin/csh      
regress  p0       scc-re0                          10:15AM     - telnet hostA
regress  p1       scc-re0                          10:16AM     - telnet hostA
regress  p2       scc-re0                          10:19AM     - telnet hostA
regress  p3       scc-re0                          10:24AM     - telnet hostA

show system users (TX Matrix Plus Router)

user@host> show system users
sfc0-re0:
--------------------------------------------------------------------------
 1:41AM  up 26 mins, 3 users, load averages: 0.08, 0.04, 0.03
USER     TTY      FROM                              LOGIN@  IDLE WHAT
regress  p0       10.209.208.123                   1:18AM     21 cli           
regress  p1       172.17.29.207                    1:37AM      2 cli           
regress  p2       172.17.28.19                     1:40AM      - cli           

lcc0-re0:
--------------------------------------------------------------------------
 1:41AM  up 26 mins, 0 users, load averages: 0.00, 0.00, 0.03

lcc1-re0:
--------------------------------------------------------------------------
 1:41AM  up 26 mins, 0 users, load averages: 0.00, 0.02, 0.03

lcc2-re0:
--------------------------------------------------------------------------
 1:41AM  up 26 mins, 0 users, load averages: 0.16, 0.06, 0.02

lcc3-re0:
--------------------------------------------------------------------------
 1:41AM  up 26 mins, 0 users, load averages: 0.12, 0.04, 0.04

regress@aj> show system users               
sfc0-re0:
--------------------------------------------------------------------------
 1:42AM  up 28 mins, 4 users, load averages: 0.02, 0.03, 0.02
USER     TTY      FROM                              LOGIN@  IDLE WHAT
regress  p0       pssraj-t61.jnpr.net              1:18AM     22 cli           
regress  p1       eng-shell4.juniper.net           1:37AM      - cli           
regress  p2       bigpink.juniper.net              1:40AM      - cli           
regress  p3       sv-cuty-01.englab.juniper.net    1:42AM      - -csh (csh)    

lcc0-re0:
--------------------------------------------------------------------------
 1:42AM  up 28 mins, 0 users, load averages: 0.02, 0.01, 0.03

lcc1-re0:
--------------------------------------------------------------------------
 1:42AM  up 28 mins, 0 users, load averages: 0.07, 0.04, 0.03

lcc2-re0:
--------------------------------------------------------------------------
 1:42AM  up 27 mins, 0 users, load averages: 0.07, 0.06, 0.02

lcc3-re0:
--------------------------------------------------------------------------
 1:42AM  up 28 mins, 0 users, load averages: 0.05, 0.04, 0.04

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