How to show sucess rate in the terminal when running?

how to show sucess rate in the terminal live when running