Home | History | Annotate | Download | only in samples
      1 def run(machine):
      2     host = hosts.create_host(machine)
      3     print 'Uptime:         ' + host.check_uptime()
      4     print 'Arch:           ' + host.get_arch()
      5     print 'Kernel ver:     ' + host.get_kernel_ver()
      6     print 'Kernel cmdline: ' + host.get_cmdline()
      7 
      8 job.parallel_simple(run, machines)
      9