#!/usr/bin/python
import sshwithcmd

def main():


	print '''\n \n
	pinging all nodes .....
	'''
	cmd="python /users/oigbe000/DeterlabControl/nodecontrol/pingclient.py"#./DeterlabControl/nodecontrol/pingclient.py"
	output,err=sshwithcmd.sshwithcmd("oigbe000@users.isi.deterlab.net",cmd)
	print output
	print err
	print "server is ok"

if __name__ == "__main__":
	main()

2666cbbed8fa4f0cdecdf9756432586a56bdbafb
#!/usr/bin/python
import sshwithcmd

def main():


	print '''\n \n
	pinging all nodes .....
	'''
	cmd="python /users/oigbe000/DeterlabControl/nodecontrol/pingclient.py"#./DeterlabControl/nodecontrol/pingclient.py"
	output,err=sshwithcmd.sshwithcmd("oigbe000@users.isi.deterlab.net",cmd)
	print output
	print err
	print "server is ok"

if __name__ == "__main__":
	main()
