[direct: mongos] test> db.runCommand({ serverStatus: 1}) { host: 'M-C02F731CMD6M', version: '5.0.0', process: 'mongos', pid: Long("30410"), uptime: 392, uptimeMillis: Long("392039"), uptimeEstimate: Long("392"), localTime: ISODate("2021-09-08T16:40:30.061Z"), asserts: { regular: 0, warning: 0, msg: 0, user: 58, tripwire: 0, rollovers: 0 }, connections: { current: 4, available: 2044, totalCreated: 16, active: 2, threaded: 4, exhaustIsMaster: 1, exhaustHello: 0, awaitingTopologyChanges: 5 }, defaultRWConcern: { defaultReadConcern: { level: 'local' }, defaultWriteConcern: { w: 'majority', wtimeout: 0 }, defaultWriteConcernSource: 'implicit', defaultReadConcernSource: 'implicit', localUpdateWallClockTime: ISODate("2021-09-08T16:40:21.192Z") }, extra_info: { note: 'fields vary by platform', page_faults: 2 }, hedgingMetrics: { numTotalOperations: Long("0"), numTotalHedgedOperations: Long("0"), numAdvantageouslyHedgedOperations: Long("0") }, logicalSessionRecordCache: { activeSessionsCount: 1, sessionsCollectionJobCount: 2, lastSessionsCollectionJobDurationMillis: 235, lastSessionsCollectionJobTimestamp: ISODate("2021-09-08T16:38:58.478Z"), lastSessionsCollectionJobEntriesRefreshed: 5, lastSessionsCollectionJobEntriesEnded: 0, lastSessionsCollectionJobCursorsClosed: 0, transactionReaperJobCount: 2, lastTransactionReaperJobDurationMillis: 38, lastTransactionReaperJobTimestamp: ISODate("2021-09-08T16:38:58.478Z"), lastTransactionReaperJobEntriesCleanedUp: 0, sessionCatalogSize: 0 }, network: { bytesIn: Long("21842"), bytesOut: Long("58055"), physicalBytesIn: Long("14374"), physicalBytesOut: Long("58055"), numSlowDNSOperations: Long("0"), numSlowSSLOperations: Long("0"), numRequests: Long("98"), tcpFastOpen: { serverSupported: false, clientSupported: false, accepted: Long("0") }, compression: { snappy: { compressor: { bytesIn: Long("142707"), bytesOut: Long("115297") }, decompressor: { bytesIn: Long("395207"), bytesOut: Long("786678") } }, zstd: { compressor: { bytesIn: Long("0"), bytesOut: Long("0") }, decompressor: { bytesIn: Long("0"), bytesOut: Long("0") } }, zlib: { compressor: { bytesIn: Long("0"), bytesOut: Long("0") }, decompressor: { bytesIn: Long("0"), bytesOut: Long("0") } } }, serviceExecutors: { passthrough: { threadsRunning: 4, clientsInTotal: 4, clientsRunning: 4, clientsWaitingForData: 0 }, fixed: { threadsRunning: 1, clientsInTotal: 0, clientsRunning: 0, clientsWaitingForData: 0 } } }, opcounters: { insert: Long("0"), query: Long("0"), update: Long("0"), delete: Long("0"), getmore: Long("0"), command: Long("97") }, security: { authentication: { saslSupportedMechsReceived: Long("0"), mechanisms: { 'MONGODB-X509': { speculativeAuthenticate: { received: Long("0"), successful: Long("0") }, clusterAuthenticate: { received: Long("0"), successful: Long("0") }, authenticate: { received: Long("0"), successful: Long("0") } }, 'SCRAM-SHA-1': { speculativeAuthenticate: { received: Long("0"), successful: Long("0") }, clusterAuthenticate: { received: Long("0"), successful: Long("0") }, authenticate: { received: Long("0"), successful: Long("0") } }, 'SCRAM-SHA-256': { speculativeAuthenticate: { received: Long("0"), successful: Long("0") }, clusterAuthenticate: { received: Long("0"), successful: Long("0") }, authenticate: { received: Long("0"), successful: Long("0") } } } } }, sharding: { configsvrConnectionString: 'configRepl/localhost:27024', lastSeenConfigServerOpTime: { ts: Timestamp(3, 1631119228), t: Long("-1") }, maxChunkSizeInBytes: Long("67108864") }, shardingStatistics: { numHostsTargeted: { find: { allShards: 0, manyShards: 0, oneShard: 0, unsharded: 0 }, insert: { allShards: 0, manyShards: 0, oneShard: 0, unsharded: 0 }, update: { allShards: 0, manyShards: 0, oneShard: 0, unsharded: 0 }, delete: { allShards: 0, manyShards: 0, oneShard: 0, unsharded: 0 }, aggregate: { allShards: 0, manyShards: 0, oneShard: 0, unsharded: 0 } }, catalogCache: { numDatabaseEntries: Long("1"), numCollectionEntries: Long("2"), countStaleConfigErrors: Long("0"), totalRefreshWaitTimeMicros: Long("104681"), operationsBlockedByRefresh: { countAllOperations: Long("3"), countInserts: Long("0"), countQueries: Long("0"), countUpdates: Long("0"), countDeletes: Long("0"), countCommands: Long("3") }, numActiveIncrementalRefreshes: Long("0"), countIncrementalRefreshesStarted: Long("0"), numActiveFullRefreshes: Long("0"), countFullRefreshesStarted: Long("3"), countFailedRefreshes: Long("2") } }, trafficRecording: { running: false }, transactions: { currentOpen: Long("0"), currentActive: Long("0"), currentInactive: Long("0"), totalStarted: Long("0"), totalCommitted: Long("0"), totalAborted: Long("0"), abortCause: {}, totalContactedParticipants: Long("0"), totalParticipantsAtCommit: Long("0"), totalRequestsTargeted: Long("0"), commitTypes: { noShards: { initiated: Long("0"), successful: Long("0"), successfulDurationMicros: Long("0") }, singleShard: { initiated: Long("0"), successful: Long("0"), successfulDurationMicros: Long("0") }, singleWriteShard: { initiated: Long("0"), successful: Long("0"), successfulDurationMicros: Long("0") }, readOnly: { initiated: Long("0"), successful: Long("0"), successfulDurationMicros: Long("0") }, twoPhaseCommit: { initiated: Long("0"), successful: Long("0"), successfulDurationMicros: Long("0") }, recoverWithToken: { initiated: Long("0"), successful: Long("0"), successfulDurationMicros: Long("0") } } }, transportSecurity: { '1.0': Long("0"), '1.1': Long("0"), '1.2': Long("0"), '1.3': Long("0"), unknown: Long("0") }, mem: { bits: 64, resident: 18, virtual: 5372, supported: true }, metrics: { apiVersions: { 'mlaunch v1.6.4': [ 'default' ], 'mongosh 1.0.1': [ 'default' ] }, cursor: { timedOut: Long("0"), open: { multiTarget: Long("0"), singleTarget: Long("0"), pinned: Long("0"), total: Long("0") } }, aggStageCounters: { '$_internalConvertBucketIndexStats': Long("0"), '$_internalInhibitOptimization': Long("0"), '$_internalSetWindowFields': Long("0"), '$_internalSplitPipeline': Long("0"), '$_internalUnpackBucket': Long("0"), '$_unpackBucket': Long("0"), '$addFields': Long("0"), '$bucket': Long("0"), '$bucketAuto': Long("0"), '$changeStream': Long("0"), '$collStats': Long("0"), '$count': Long("0"), '$currentOp': Long("0"), '$facet': Long("0"), '$geoNear': Long("0"), '$graphLookup': Long("0"), '$group': Long("0"), '$indexStats': Long("0"), '$limit': Long("0"), '$listLocalSessions': Long("0"), '$listSessions': Long("0"), '$lookup': Long("0"), '$match': Long("0"), '$merge': Long("0"), '$mergeCursors': Long("0"), '$operationMetrics': Long("0"), '$out': Long("0"), '$planCacheStats': Long("0"), '$project': Long("0"), '$redact': Long("0"), '$replaceRoot': Long("0"), '$replaceWith': Long("0"), '$sample': Long("0"), '$set': Long("0"), '$setWindowFields': Long("0"), '$skip': Long("0"), '$sort': Long("0"), '$sortByCount': Long("0"), '$unionWith': Long("0"), '$unset': Long("0"), '$unwind': Long("0") }, commands: { '': Long("1"), _isSelf: { failed: Long("0"), total: Long("0") }, _killOperations: { failed: Long("0"), total: Long("0") }, _mergeAuthzCollections: { failed: Long("0"), total: Long("0") }, abortReshardCollection: { failed: Long("0"), total: Long("0") }, abortTransaction: { failed: Long("0"), total: Long("0") }, addShard: { failed: Long("0"), total: Long("2") }, addShardToZone: { failed: Long("0"), total: Long("0") }, aggregate: { failed: Long("0"), total: Long("0") }, authenticate: { failed: Long("0"), total: Long("0") }, availableQueryOptions: { failed: Long("0"), total: Long("0") }, balancerCollectionStatus: { failed: Long("0"), total: Long("0") }, balancerStart: { failed: Long("0"), total: Long("0") }, balancerStatus: { failed: Long("0"), total: Long("0") }, balancerStop: { failed: Long("0"), total: Long("0") }, buildInfo: { failed: Long("0"), total: Long("1") }, cleanupReshardCollection: { failed: Long("0"), total: Long("0") }, clearJumboFlag: { failed: Long("0"), total: Long("0") }, collMod: { failed: Long("0"), total: Long("0") }, collStats: { failed: Long("0"), total: Long("0") }, commitReshardCollection: { failed: Long("0"), total: Long("0") }, commitTransaction: { failed: Long("0"), total: Long("0") }, compact: { failed: Long("0"), total: Long("0") }, connPoolStats: { failed: Long("0"), total: Long("0") }, connPoolSync: { failed: Long("0"), total: Long("0") }, connectionStatus: { failed: Long("0"), total: Long("0") }, convertToCapped: { failed: Long("0"), total: Long("0") }, count: { failed: Long("0"), total: Long("3") }, create: { failed: Long("0"), total: Long("0") }, createIndexes: { failed: Long("0"), total: Long("0") }, createRole: { failed: Long("0"), total: Long("0") }, createUser: { failed: Long("0"), total: Long("0") }, currentOp: { failed: Long("0"), total: Long("0") }, dataSize: { failed: Long("0"), total: Long("0") }, dbStats: { failed: Long("0"), total: Long("0") }, delete: { failed: Long("0"), total: Long("0") }, distinct: { failed: Long("0"), total: Long("0") }, drop: { failed: Long("0"), total: Long("0") }, dropAllRolesFromDatabase: { failed: Long("0"), total: Long("0") }, dropAllUsersFromDatabase: { failed: Long("0"), total: Long("0") }, dropConnections: { failed: Long("0"), total: Long("0") }, dropDatabase: { failed: Long("0"), total: Long("0") }, dropIndexes: { failed: Long("0"), total: Long("0") }, dropRole: { failed: Long("0"), total: Long("0") }, dropUser: { failed: Long("0"), total: Long("0") }, enableSharding: { failed: Long("0"), total: Long("0") }, endSessions: { failed: Long("0"), total: Long("0") }, explain: { failed: Long("0"), total: Long("0") }, features: { failed: Long("0"), total: Long("0") }, filemd5: { failed: Long("0"), total: Long("0") }, find: { failed: Long("0"), total: Long("0") }, findAndModify: { arrayFilters: Long("0"), failed: Long("0"), pipeline: Long("0"), total: Long("0") }, flushRouterConfig: { failed: Long("0"), total: Long("0") }, fsync: { failed: Long("0"), total: Long("0") }, getCmdLineOpts: { failed: Long("0"), total: Long("1") }, getDefaultRWConcern: { failed: Long("0"), total: Long("0") }, getDiagnosticData: { failed: Long("0"), total: Long("0") }, getLastError: { failed: Long("0"), total: Long("0") }, getLog: { failed: Long("0"), total: Long("1") }, getMore: { failed: Long("0"), total: Long("0") }, getParameter: { failed: Long("0"), total: Long("0") }, getShardMap: { failed: Long("0"), total: Long("0") }, getShardVersion: { failed: Long("0"), total: Long("0") }, getnonce: { failed: Long("0"), total: Long("0") }, grantPrivilegesToRole: { failed: Long("0"), total: Long("0") }, grantRolesToRole: { failed: Long("0"), total: Long("0") }, grantRolesToUser: { failed: Long("0"), total: Long("0") }, hello: { failed: Long("4"), total: Long("6") }, hostInfo: { failed: Long("0"), total: Long("0") }, insert: { failed: Long("0"), total: Long("0") }, invalidateUserCache: { failed: Long("0"), total: Long("0") }, isMaster: { failed: Long("0"), total: Long("78") }, isdbgrid: { failed: Long("0"), total: Long("0") }, killAllSessions: { failed: Long("0"), total: Long("0") }, killAllSessionsByPattern: { failed: Long("0"), total: Long("0") }, killCursors: { failed: Long("0"), total: Long("0") }, killOp: { failed: Long("0"), total: Long("0") }, killSessions: { failed: Long("0"), total: Long("0") }, listCollections: { failed: Long("0"), total: Long("0") }, listCommands: { failed: Long("0"), total: Long("0") }, listDatabases: { failed: Long("0"), total: Long("0") }, listIndexes: { failed: Long("0"), total: Long("0") }, listShards: { failed: Long("0"), total: Long("0") }, logRotate: { failed: Long("0"), total: Long("0") }, logout: { failed: Long("0"), total: Long("0") }, mapReduce: { failed: Long("0"), total: Long("0") }, mergeChunks: { failed: Long("0"), total: Long("0") }, moveChunk: { failed: Long("0"), total: Long("0") }, movePrimary: { failed: Long("0"), total: Long("0") }, netstat: { failed: Long("0"), total: Long("0") }, ping: { failed: Long("0"), total: Long("3") }, planCacheClear: { failed: Long("0"), total: Long("0") }, planCacheClearFilters: { failed: Long("0"), total: Long("0") }, planCacheListFilters: { failed: Long("0"), total: Long("0") }, planCacheSetFilter: { failed: Long("0"), total: Long("0") }, profile: { failed: Long("0"), total: Long("0") }, refineCollectionShardKey: { failed: Long("0"), total: Long("0") }, refreshSessions: { failed: Long("0"), total: Long("0") }, removeShard: { failed: Long("0"), total: Long("0") }, removeShardFromZone: { failed: Long("0"), total: Long("0") }, renameCollection: { failed: Long("0"), total: Long("0") }, replSetGetStatus: { failed: Long("0"), total: Long("0") }, reshardCollection: { failed: Long("0"), total: Long("0") }, revokePrivilegesFromRole: { failed: Long("0"), total: Long("0") }, revokeRolesFromRole: { failed: Long("0"), total: Long("0") }, revokeRolesFromUser: { failed: Long("0"), total: Long("0") }, rolesInfo: { failed: Long("0"), total: Long("0") }, rotateCertificates: { failed: Long("0"), total: Long("0") }, saslContinue: { failed: Long("0"), total: Long("0") }, saslStart: { failed: Long("0"), total: Long("0") }, serverStatus: { failed: Long("0"), total: Long("2") }, setDefaultRWConcern: { failed: Long("0"), total: Long("0") }, setFeatureCompatibilityVersion: { failed: Long("0"), total: Long("0") }, setIndexCommitQuorum: { failed: Long("0"), total: Long("0") }, setParameter: { failed: Long("0"), total: Long("0") }, shardCollection: { failed: Long("0"), total: Long("0") }, shutdown: { failed: Long("0"), total: Long("0") }, split: { failed: Long("0"), total: Long("0") }, splitVector: { failed: Long("0"), total: Long("0") }, startRecordingTraffic: { failed: Long("0"), total: Long("0") }, startSession: { failed: Long("0"), total: Long("0") }, stopRecordingTraffic: { failed: Long("0"), total: Long("0") }, update: { arrayFilters: Long("0"), failed: Long("0"), pipeline: Long("0"), total: Long("0") }, updateRole: { failed: Long("0"), total: Long("0") }, updateUser: { failed: Long("0"), total: Long("0") }, updateZoneKeyRange: { failed: Long("0"), total: Long("0") }, usersInfo: { failed: Long("0"), total: Long("0") }, validate: { failed: Long("0"), total: Long("0") }, validateDBMetadata: { failed: Long("0"), total: Long("0") }, waitForFailPoint: { failed: Long("0"), total: Long("0") }, whatsmyuri: { failed: Long("0"), total: Long("0") } }, dotsAndDollarsFields: { inserts: Long("0"), updates: Long("0") }, getLastError: { wtime: { num: 0, totalMillis: 0 }, wtimeouts: Long("0"), default: { unsatisfiable: Long("0"), wtimeouts: Long("0") } }, mongos: { cursor: { moreThanOneBatch: Long("0"), totalOpened: Long("0") } }, operatorCounters: { expressions: { '$_internalJsEmit': Long("0"), '$abs': Long("0"), '$acos': Long("0"), '$acosh': Long("0"), '$add': Long("0"), '$allElementsTrue': Long("0"), '$and': Long("0"), '$anyElementTrue': Long("0"), '$arrayElemAt': Long("0"), '$arrayToObject': Long("0"), '$asin': Long("0"), '$asinh': Long("0"), '$atan': Long("0"), '$atan2': Long("0"), '$atanh': Long("0"), '$avg': Long("0"), '$binarySize': Long("0"), '$bsonSize': Long("0"), '$ceil': Long("0"), '$cmp': Long("0"), '$concat': Long("0"), '$concatArrays': Long("0"), '$cond': Long("0"), '$const': Long("0"), '$convert': Long("0"), '$cos': Long("0"), '$cosh': Long("0"), '$dateAdd': Long("0"), '$dateDiff': Long("0"), '$dateFromParts': Long("0"), '$dateFromString': Long("0"), '$dateSubtract': Long("0"), '$dateToParts': Long("0"), '$dateToString': Long("0"), '$dateTrunc': Long("0"), '$dayOfMonth': Long("0"), '$dayOfWeek': Long("0"), '$dayOfYear': Long("0"), '$degreesToRadians': Long("0"), '$divide': Long("0"), '$eq': Long("12"), '$exp': Long("0"), '$filter': Long("0"), '$first': Long("0"), '$floor': Long("0"), '$function': Long("0"), '$getField': Long("0"), '$gt': Long("0"), '$gte': Long("0"), '$hour': Long("0"), '$ifNull': Long("0"), '$in': Long("0"), '$indexOfArray': Long("0"), '$indexOfBytes': Long("0"), '$indexOfCP': Long("0"), '$isArray': Long("0"), '$isNumber': Long("0"), '$isoDayOfWeek': Long("0"), '$isoWeek': Long("0"), '$isoWeekYear': Long("0"), '$last': Long("0"), '$let': Long("0"), '$literal': Long("0"), '$ln': Long("0"), '$log': Long("0"), '$log10': Long("0"), '$lt': Long("0"), '$lte': Long("0"), '$ltrim': Long("0"), '$map': Long("0"), '$max': Long("0"), '$mergeObjects': Long("0"), '$meta': Long("0"), '$millisecond': Long("0"), '$min': Long("0"), '$minute': Long("0"), '$mod': Long("0"), '$month': Long("0"), '$multiply': Long("0"), '$ne': Long("0"), '$not': Long("0"), '$objectToArray': Long("0"), '$or': Long("0"), '$pow': Long("0"), '$radiansToDegrees': Long("0"), '$rand': Long("0"), '$range': Long("0"), '$reduce': Long("0"), '$regexFind': Long("0"), '$regexFindAll': Long("0"), '$regexMatch': Long("0"), '$replaceAll': Long("0"), '$replaceOne': Long("0"), '$reverseArray': Long("0"), '$round': Long("0"), '$rtrim': Long("0"), '$second': Long("0"), '$setDifference': Long("0"), '$setEquals': Long("0"), '$setField': Long("0"), '$setIntersection': Long("0"), '$setIsSubset': Long("0"), '$setUnion': Long("0"), '$sin': Long("0"), '$sinh': Long("0"), '$size': Long("0"), '$slice': Long("0"), '$split': Long("0"), '$sqrt': Long("0"), '$stdDevPop': Long("0"), '$stdDevSamp': Long("0"), '$strLenBytes': Long("0"), '$strLenCP': Long("0"), '$strcasecmp': Long("0"), '$substr': Long("0"), '$substrBytes': Long("0"), '$substrCP': Long("0"), '$subtract': Long("0"), '$sum': Long("0"), '$switch': Long("0"), '$tan': Long("0"), '$tanh': Long("0"), '$toBool': Long("0"), '$toDate': Long("0"), '$toDecimal': Long("0"), '$toDouble': Long("0"), '$toHashedIndexKey': Long("0"), '$toInt': Long("0"), '$toLong': Long("0"), '$toLower': Long("0"), '$toObjectId': Long("0"), '$toString': Long("0"), '$toUpper': Long("0"), '$trim': Long("0"), '$trunc': Long("0"), '$type': Long("0"), '$unsetField': Long("0"), '$week': Long("0"), '$year': Long("0"), '$zip': Long("0") } }, query: { planCacheTotalSizeEstimateBytes: Long("0"), updateOneOpStyleBroadcastWithExactIDCount: Long("0") }, repl: { network: { oplogGetMoresProcessed: { num: 0, totalMillis: 0 } } } }, ok: 1, '$clusterTime': { clusterTime: Timestamp(10, 1631119228), signature: { hash: Binary(Buffer.from("0000000000000000000000000000000000000000", "hex"), 0), keyId: Long("0") } }, operationTime: Timestamp(10, 1631119228) }