I’m connected to a DB and I don’t have access to the admin db so I can’t run db.currentOp… Is there a way to get all the operations currently running under my username ?
The operations are run from a python script. Is there a way to get the opId of a given cursor (usually aggregate) while running it ?
cursor = db.coll.aggregate([{....}])
opid = cursor.get_opId() ?????
for record in cursor:
...