- service mongod status: Displays the status of MongodB service as like the screenshot given below.
Fig 1. MongoDB Status Check
- systemctl status mongod: Displays the same status of MongoDB service as like above command as shown in figure 1.
- pgrep mongo: Prints the process ID of running mongo instance. pgrep command looks through the list of running processes and list down the process ids based on name.
- ps -e | grep mongo: Prints the process detail of running mongo instance
- nc -v localhost 27017: Prints whether connection to mongodb running on port 27017 is succeeded.
- Business Problems to Analytics Use Cases: How? - December 31, 2022
- Data Analysis Types: Concepts & Examples - December 30, 2022
- Procurement Advanced Analytics Use Cases - December 29, 2022
thanks for the data!