In the mongodb-org-tools package there is a command line utility: mongostat
This will show transactions per second, but broken down to inserts, updates, deletes and queries. Please check the following documentation -
https://docs.mongodb.org/manual/reference/program/mongostat/
In the MongoDB server, the command db.serverStatus() produces the metrics that also mongostat will report, but it is not easy for a human to get the per-second number from that.