MCPcopy
hub / github.com/mongodb/node-mongodb-native / serverStatus

Method serverStatus

src/admin.ts:111–113  ·  view source on GitHub ↗

* Retrieve this db's server status. * * @param options - Optional settings for the command

(options?: CommandOperationOptions)

Source from the content-addressed store, hash-verified

109 * @param options - Optional settings for the command
110 */
111 async serverStatus(options?: CommandOperationOptions): Promise<Document> {
112 return await this.command({ serverStatus: 1 }, options);
113 }
114
115 /**
116 * Ping the MongoDB server and retrieve results

Calls 1

commandMethod · 0.95

Tested by

no test coverage detected