show system uptime
Syntax
show system uptime
Syntax (EX Series Switches)
show system uptime <all-members> <local> <member member-id>
Syntax (QFX Series)
show system uptime <director-group name> <infrastructure name> <interconnect-device name> <node-group name>
Syntax (TX Matrix Router)
show system uptime <all-chassis | all-lcc | lcc number | scc>
Syntax (TX Matrix Plus Router)
show system uptime <detail> <all-chassis | all-lcc | lcc number | sfc number>
Syntax (MX Series Router)
show system uptime <all-members> <invoke-on> <local> <member member-id>
Syntax (Junos OS Evolved)
show system uptime <node node-name>
Description
Display the current time and information about how long the router or switch, router or switch software, and routing protocols have been running.
Time values computed from differences in timestamps can vary due to the insertion or deletion of leap-seconds between them.
The show system uptime
command is a little different in how it displays output in Junos
OS Evolved. The show system uptime
command by itself shows
system-wide uptime information. Use the show system uptime node node-name
command to see node-specific uptime information,
where node-name
can be re0 |
re1 | fpc0 | all
.
Options
none | Show time since the system rebooted and processes started. |
all-chassis | (TX Matrix routers and TX Matrix Plus routers only) (Optional) Show time since the system rebooted and processes started on all the routers in the chassis. |
all-lcc | (TX Matrix routers and TX Matrix Plus routers only) (Optional) On a TX Matrix router, show time since the system rebooted and processes started for all T640 routers (or line-card chassis) connected to the TX Matrix router. On a TX Matrix Plus router, show time since the system rebooted and processes started for all connected T1600 or T4000 LCCs. |
all-members | (EX4200 switches and MX Series routers only) (Optional) Show time since the system rebooted and processes started on all members of the Virtual Chassis configuration. |
director-group name | (QFabric systems only) (Optional) Show time since the system rebooted and processes started on the Director group. |
infrastructure name | (QFabric systems only) (Optional) Show time since the system rebooted and processes started on the fabric control Routing Engine and fabric manager Routing Engine. |
interconnect-device name | (QFabric systems only) (Optional) Show time since the system rebooted and processes started on the Interconnect device. |
invoke-on | (MX Series routers only) (Optional) Display the time since the system rebooted and processes started on the primary Routing Engine, backup Routing Engine, or both, on a router with two Routing Engines. |
lcc number | (TX Matrix routers and TX Matrix Plus routers only) (Optional) On a TX Matrix router, show time since the system rebooted and processes started for a specific T640 router that is connected to the TX Matrix router. On a TX Matrix Plus router, show time since the system rebooted and processes started for a specific router that is connected to the TX Matrix Plus router. Replace number with the following values depending on the LCC configuration:
|
local | (EX4200 switches and MX Series routers only) (Optional) Show time since the system rebooted and processes started on the local Virtual Chassis member. |
member member-id | (EX4200 switches and MX Series routers only) (Optional)
Show time since the system rebooted and processes started on the specified
member of the Virtual Chassis configuration. For EX4200 switches,
replace |
node node-name |
(Junos OS Evolved only) (Optional) Display
uptime information for the specified node. When |
node-group name | (QFabric systems only) (Optional) Show time since the system rebooted and processes started on the Node group. |
scc | (TX Matrix routers only) (Optional) Show time since the system rebooted and processes started for the TX Matrix router (or switch-card chassis). |
sfc number | (TX Matrix Plus routers only) (Optional) Show time since the system rebooted and processes started for the TX Matrix Plus router. Replace number with 0. |
Additional Information
By default, when you issue the show system uptime
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 uptime
command. Output fields are listed in the approximate order in which
they appear.
Field Name |
Field Description |
---|---|
|
(Only for Junos OS Evolved when |
|
(Only for Junos OS Evolved when |
|
Current system time in UTC. |
|
Reference time source that the system is locked to. |
|
Date and time when the Routing Engine on the router or switch was last booted and how long it has been running. |
|
Date and time when the routing protocols were last started and how long they have been running. |
|
Date and time when a configuration
was last committed. Also shows the name of the user who issued the
last |
|
Current time, in the local time zone, and how long the router or switch has been operational. |
|
Number of users logged in to the router or switch. |
|
Load averages for the last 1 minute, 5 minutes, and 15 minutes. |
Sample Output
- show system uptime
- show system uptime node (for Junos OS Evolved)
- show system uptime (QFX Series)
- show system uptime (Junos OS Evolved)
- show system uptime node re0 (Junos OS Evolved)
show system uptime
user@host> show system uptime Current time: 2017-10-13 19:45:47 UTC Time Source: NTP CLOCK System booted: 2017-10-12 20:51:41 UTC (22:54:06 ago) Protocols started: 2017-10-13 19:33:45 UTC (00:12:02 ago) Last configured: 2017-10-13 19:33:45 UTC (00:12:02 ago) by abc 12:45PM up 22:54, 2 users, load averages: 0.07, 0.02, 0.01
show system uptime node (for Junos OS Evolved)
user@host> show system uptime node re0 Current time: 2017-05-16 16:13:18 PDT Node booted: 2017-05-10 15:45:29 PDT (6d 00:27 ago) Last configured: 2017-05-10 15:31:46 PDT (6d 00:41 ago) by root 16:13:18 up 6 days, 27 min, 1 user, load averages: 2.69, 2.58, 2.57
show system uptime (QFX Series)
user@switch> show system uptime Current time: 2017-08-27 03:12:30 PDT Time Source: NTP CLOCK System booted: 2017-08-13 17:11:54 PDT (1w6d 10:00 ago) Protocols started: 2017-08-13 17:13:56 PDT (1w6d 09:58 ago) Last configured: 2017-08-26 05:54:00 PDT (21:18:30 ago) by user 3:12AM up 13 days, 10:01, 3 users, load averages: 0.00, 0.00, 0.00
show system uptime (Junos OS Evolved)
user@router> show system uptime System booted: 2019-02-20 19:17:52 PST (02:20:33 ago) System-wide users: 7 users
Starting in Junos OS Evolved 19.1R1 release, the show system
uptime
output displays only the System booted
and System-wide users
information. The output does not display
the details such as Current time
, System booted
, Protocols started
, and Last configured parameters
. To see node-specific uptime information, use the node
option.
show system uptime node re0 (Junos OS Evolved)
user@router> show system uptime node re0 Current time: 2019-07-09 14:24:34 PDT Time Source: NTP CLOCK Node booted: 2019-07-03 09:59:58 PDT (6d 04:24 ago) Protocols started: 2019-07-03 10:01:41 PDT (6d 04:22 ago) Last configured: 2019-07-03 10:01:10 PDT (6d 04:23 ago) by root 2:24PM up 6 days, 4:24, 1 user, load averages: 1.25, 0.51, 0.36
Release Information
Command introduced before Junos OS Release 7.4.
sfc
option introduced for the TX Matrix Plus router
in JUNOS Release 9.6.
node
option introduced in Junos OS Evolved Release
18.3R1.