summaryrefslogtreecommitdiff
path: root/server/samples/info.srv
blob: 5bdd2bfc922e2aa4980bee6edceb2db1a4708660 (plain)
1
2
3
4
5
6
7
8
def run(machine):
    host = hosts.create_host(machine, initialize = False)
    print 'Uptime:         ' + host.check_uptime()
    print 'Arch:           ' + host.get_arch()
    print 'Kernel ver:     ' + host.get_kernel_ver()
    print 'Kernel cmdline: ' + host.get_cmdline()

job.parallel_simple(run, machines)