add the actual shell script for the status polling

Signed-off-by: Rocky Zhang <zhangyan.hit@gmail.com>