githubEdit

magnifying-glass-waveformNetrunner and PM2

Using PM2 for production management

PM2 allows you to run services in the background, monitor server resource usage, write logs, and more.

circle-info

PM2 is the recommended way to run and maintain a node (regular and validator) for Klyntar

To run & work with a testnet you can use these simple commands:

1. Start a testnet in a single command:

2. Check the active background services

You will see the following

3. Enter monitoring dashboard

4. Read the logs stream

5. Read last N lines of logs from stdout / stderr streams (nostream mode)

circle-info

Reading logs available even if the service was stopped - so it's useful to understand reasons of downtimes and so on

6. Stop a testnet

circle-info

When you stop the testnet and then run it again - the progress will be dropped and testnet will start from height 0 and epoch 0

Last updated