environment/lib/python2.7/site-packages/psutil/_pslinux.py
def _get_boot_time():
    """Return system boot time (epoch in seconds)"""
    f = open('/proc/stat', 'r')
    try:
        for line in f:
            if line.startswith('btime'):
                return float(line.strip().split()[1])
        raise RuntimeError("line not found")
    finally:
        f.close()
def _get_boot_time():
    """Return system boot time (epoch in seconds)"""
    f = open('/proc/stat', 'r')
    try:
        for line in f:
            if line.startswith('btime'):
                return float(line.strip().split()[1])
        raise RuntimeError("line not found")
    finally:
        f.close()
def _get_boot_time ( ) : f = open ( '/proc/stat' , 'r' ) try : for line in f : if line . startswith ( 'btime' ) : return float ( line . strip ( ) . split ( ) [ 1 ] ) raise RuntimeError ( "line not found" ) finally : f . close ( )
Return system boot time (epoch in seconds)
Return system boot time ( epoch in seconds )