Re: testing machine responsiveness
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
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