Posted By

beaknit on 07/15/11



Versions (?)

Wait for Proc to Term by PID

 / Published in: Bash

Uses jboss in this example

  1. while ps $JBOSS_PID > /dev/null
  2. do
  3. sleep 5
  4. echo Waiting for Jboss PID $JBOSS_PID to terminate
  5. done

Report this snippet  

You need to login to post a comment.