Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show vmhost uptime (NFX Series)

date_range 08-Jun-24

Syntax

content_copy zoom_out_map
show vmhost uptime

Description

Display the current time and information such as how long the host OS has been running, number of users, average load, and the last reboot reason.

Required Privilege Level

view

Reboot Reason Codes

Vmhost last reboot reason: 0x20

power cycle

Vmhost last reboot reason: 0x04

reset button

Vmhost last reboot reason: 0x01

cold reset

Vmhost last reboot reason: 0x80

hypervisor reboot

Vmhost last reboot reason: 0x40

watchdog reset

Sample Output

show vmhost uptime

content_copy zoom_out_map
user@host> show vmhost uptime
 Vmhost Current time: 2020-02-05 10:04:09+00:00
 Vmhost Uptime:
       10:04:09 up 7 days, 21:43, 0 users, load average: 1.33, 1.26, 1.19
 Vmhost last reboot reason: 0x20 

In the output message, the vmhost last reboot reason field provides the reboot reason code. To understand various reboot reason codes and its description, see Reboot Reason Codes.

Release Information

Command introduced in Junos OS Release 18.1R1.

footer-navigation