At work, I handle some scripts that we use to spread work amongst our server farm. We have some pre-existing scripts that constantly monitor load on the farm. I did not write these scripts and since they work well, we'd like to leave them alone.
What my script does is call the loading script to figure out which machines have available resources and then dispatch your job over to that machine.
Here's where the problem comes in. Currently, my script uses rsh to fire-and-forget the job. Rsh spools STDOUT and then reports the whole contents of STDOUT for that job in one shot once the process finishes.
Well, some of our runs are taking long and longer to complete and we'd like to be able to monitor STDOUT from the remote machine for that process in real time.
Is there a way to do this?
What my script does is call the loading script to figure out which machines have available resources and then dispatch your job over to that machine.
Here's where the problem comes in. Currently, my script uses rsh to fire-and-forget the job. Rsh spools STDOUT and then reports the whole contents of STDOUT for that job in one shot once the process finishes.
Well, some of our runs are taking long and longer to complete and we'd like to be able to monitor STDOUT from the remote machine for that process in real time.
Is there a way to do this?