I tried to run currentop on database, as noted in the below link.
https://docs.mongodb.com/manual/reference/operator/aggregation/currentOp/
Here\'s my code: