MongoDB.live, free & fully virtual. Register Now MongoDB.live, free & fully virtual. Register Now

db.serverStatus () the value obtained is of type numberlong

db.serverStatus () the value obtained is of type numberlong

I want to use it db.serverStatus () monitor the status of Mongo, the following commands I executed and the return value

mongo --port 27001 --eval “db.serverStatus().opcounters.command”
MongoDB shell version v4.2.3
connecting to: mongodb://127.0.0.1:27001/?compressors=disabled&gssapiServiceName=mongodb
Implicit session: session { “id” : UUID(“a853348d-8eac-4c6a-814b-90a9f3eb6aeb”) }
MongoDB server version: 4.2.8
NumberLong(86945)

How to change the type of numberlong to get more intuitive data,It doesn’t feel like the number of commands executed is that large