How to gain control over mind by practicing pranayam?
With practice of pranayam one gets used to concentrating on breathing. Since one gets used to concentrating on breathing, when it becomes rapid one immediately becomes aware of it. This implies that indirectly one becomes aware that either thoughts have increased or emotions are being aroused.