I have a running script which is inserting data into a MySQL database.
I want to know how many rows are getting inserted per second and per minute. If the count of rows inserted per second or per minute goes beyond a certain count, I need to stop executing the script.
How can I monitor this?