Node.js Process Manager PM2 on IBM i

pm2 node.jsTo manage Node.js application processes in production on IBM i, we recommend PM2 Runtime. As PM2’s official documentation states, PM2 “…allows you to keep applications alive forever, to reload them without downtime and facilitate common DevOps tasks.”

PM2 is free, open source, and easily installed using npm, the package manager for Node.js and JavaScript. Its features include:

  • Starting an application as a daemon (using myapp.js as an example, pm2 start myapp.js)
  • Listing the application processes that it manages (pm2 list)
  • Providing detailed information on processes (pm2 show myapp)
  • Ending a process (pm2 stop myapp)

To install PM2 on IBM i systems, we recommend the PM2 Installation Guide from Liam Allan, a Seiden Group Node.js consultant (as well as an active independent consultant and IBM i community member).

You’ll find the official tutorial at

We enjoy working with Node.js, and we think you will, too. As you move forward with it, feel free to call on us for tool-independent advice, training on best practices, and development assistance.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.