1. Home
  2. Docs
  3. NetXploreIt 1.1.0 Server Guide
  4. SYSTEM STARTUP
  5. Process Manager “PM2”

Process Manager “PM2”

Use PM2 to start up the server components. Go to main folder “netxploreit” and run:

~/netxploreit$ pm2 start ecosystem.config.js

You should get an output similar to the below:

administrator@ubuntu:~/netxploreit$ pm2 start ecosystem.config.js 

[PM2][WARN] Applications NetXploreIt, DISCOVERYdb, SYSLOGdb not running, starting…

[PM2] App [NetXploreIt] launched (1 instances)

[PM2] App [DISCOVERYdb] launched (1 instances)

[PM2] App [SYSLOGdb] launched (1 instances)

id name mode status cpu memory
1 DISCOVERYdb fork 0 online 0% 42.6mb
0 NetXploreIt fork 0 online 0% 33.6mb
2 SYSLOGdb fork 0 online 0% 8.7mb

administrator@ubuntu:~/netxploreit$

Allow approximately 1 minute for all the databases and applications to come fully up.

At any time, you can check the status of the components by running:

~/netxploreit$ pm2 list

To stop all components run:

~/netxploreit$ pm2 stop all

To restart a components run:

~/netxploreit$ pm2 restart id

Was this article helpful to you? Yes No

How can we help?