You use below command to check whether MQ instances is running or ended

# dspmq