monitor shell command implementend