I need to write a shell script that finds and kills long running mongodb queries, but I don't have access to the database that runs slow queries, how to I simulate running slow queries on my local machine running mongodb v3.6.8, so that I get some relevant output from db.currentOp() for now doesn't return much, also any tips are welcomed for the script as well.
find
– Wernfried Domscheit Mar 13 at 21:01