def linuxversion():
    f = open('/proc/version', 'r')
    v = f.readline().split()
    version_str = ' '.join(v[:3])
    f.close()
    return version_str
Return a string having the Linux kernel version.
dataset/ETHPy150Open coreemu/core/daemon/examples/netns/howmanynodes.py/linuxversion