Re: testing machine responsiveness

2006-10-08 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, Tim Arnold wrote: > try: > s.connect((cpu,7)) > except: > return 0 > try: > s.send('test') > s.recv(128) > s.close() > return 1 > except: > return 0

testing machine responsiveness

2006-10-06 Thread Tim Arnold
I have a bunch of processes that I farm out over several HPux machines on the network. There are 60 machines to choose from and I want to (1) find out which ones are alive (the 'ping' method below) and (2) sort them by their current load (the 'get' method below, using the rup command) I'm no exp