Articles tagged in: Server



PM2 — Module System

The previous published posts within this series, you’ve learned about the built-in features of PM2. This week, we’re going to explore a very handy feature of the utility: a built-in module system. This module system allows you to add custom functionality to PM2 by installing modules to PM2 …

Continue Reading

PM2 — Command Line Autocompletion

Everyone is seeking for productivity boosts day by day, like learning new shortcuts in your favorite IDE, a new command on the Unix shell or something else. If you’re just starting out or already familiar with PM2 commands, it’s always nice to have an auto-completion feature. This post …

Continue Reading

PM2 — Log Handling

Log handling is an essential key factor in process management. Even though you might not be interested in your logs if everything went smooth. Wait for your first downtime and app failures and you’ll find your fastest way to get proper information about the current application situation within your …

Continue Reading

PM2 — Advanced App Configuration with JSON File

Within this article, we’re going to explore an advanced way to declare and start your applications. If you read the previous article on process management with PM2, you’re familiar with starting applications from command line. PM2 offers another way to start applications: by using an app declaration file …

Continue Reading

PM2 — Cluster Mode and Zero-Downtime Restarts

You’ve already learned how to start, stop, or delete application processes with PM2. There is a major downside having only one app process running: app updates. Deploying updates to your application requires a restart to make the changes available to every visitor. These app restarts will cause a downtime, …

Continue Reading

PM2 — CPU/Memory Monitoring

The previous posts within this series guided you through the topics of process management, how to display currently managed app instance processes and how to restart your applications after system reboots. With PM2, you can also monitor your app processes in respect of CPU and memory utilization. This article will …

Continue Reading

PM2 — Update the Utility

You already know how to use PM2 to start and stop processes. Honestly, installed tools, utilities and apps on your server to run your actual applications are one of the things you don’t want to touch that often and PM2 is no exception. Once everything is installed and running, …

Continue Reading

Explore the Library

Find interesting tutorials and solutions for your problems.