![]() If you are using version control, it also shows the branch and last merge details. It also shows the version of Nodejs and PM2 currently installed.įor each process, you will see the percentage of CPU and the amount of memory it is consuming, and much more. For each server connected, the dashboard shows you server hardware components such as the amount of RAM and CPU type. Now on the PM2.io main interface, you should have one server connected, showing a list of all your Nodejs processes in expanded mode. Then run the above command on the Nodejs application server. Next, link PM2 to PM2.io and copy the command provided as highlighted in the following interface. In this example, we have called our bucket TECMINT-APIs. PM2 SignupĪfter a successful login, create a bucket to group your Nodejs servers/applications. To start testing PM2 plus, go to, then sign up as shown in the following screenshot. The free plan allows you to connect up to 4 servers/applications. It features issues and exception tracking, deployment reporting, real-time logs, email and slack notification, custom metrics monitoring, and custom actions center. It provides features for both hardening your current PM2 and monitoring applications in production across servers. PM2 Plus ( PM2 Web Based Dashboard) is an advanced and real-time monitoring and diagnostics tool. Monitoring Nodejs Application Using PM2 Web-Based Dashboard ![]() To monitor and diagnose cross-server applications, use the PM2 web-based dashboard. ![]() The terminal-based monitoring only works well for applications running on a single server. To view logs of an app, first select it (use up/down arrows) from the process list. Once it running, use the left/right arrows to switchboards or sections. You can launch the dashboard by running the following command. PM2 provides a terminal-based dashboard that helps you monitor the resource (memory and CPU) usage of your application. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |