Monitoring CPU/Memory监视CPU/内存

PM2 gives you a simple way to monitor the resource usage of your application. PM2为您提供了一种监视应用程序资源使用情况的简单方法。You can monitor memory and CPU easily and straight from your terminal:您可以直接从终端轻松监控内存和CPU:
pm2 monit
PM2.io

If you manage your Node.js application with PM2, we invite you to try PM2.io. 如果您使用PM2管理Node.js应用程序,我们邀请您尝试使用PM2.io。It makes monitoring and managing applications accross servers easier than ever.它使跨服务器监视和管理应用程序比以往任何时候都更容易。
pm2 monitor
Feel free to try it:请随意尝试:
Discover the monitoring dashboard for PM2发现PM2的监控仪表板