summaryrefslogtreecommitdiff
path: root/server/samples/info.srv
blob: 0dd7f88b3ab3d09a949aa2cb792639c04b06cf5e (plain)
1
2
3
4
5
6
7
8
def run(machine):
	host = hosts.SSHHost(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)