Docs Menu

Docs HomeMongoDB Manual


On this page

  • Definition
  • Syntax

The ping command is a no-op used to test whether a server is responding to commands. This command will return immediately even if the server is write-locked:

The command has the following syntax:

ping: 1

The value (e.g. 1 above) does not impact the behavior of the command.

←  netstatprofile →

On this page

Share Feedback
© 2023 MongoDB, Inc.


  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2023 MongoDB, Inc.