Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 447 Bytes

get_uptime.md

File metadata and controls

24 lines (17 loc) · 447 Bytes

get_uptime

Overview

Returns the amount of time since device was started

Examples

def test_fun(duthosts, rand_one_dut_hostname):
    duthost = duthosts[rand_one_dut_hostname]

    time_since_start = duthost.get_uptime()

Arguments

Takes no arguments.

Expected Output

returns amount of time since device start.