Text this: A method of real-time monitoring beam output stability of intense pulsed ion beam