Java Process Manager 2 (PM2)
PM2 is a production java process manager for Node.js applications with a built-in load balancer. It allows you to keep applications alive forever, to reload them without downtime and to facilitate common system admin tasks.
Contents
#Installation
#Start an app
# Specify an app name
# Watch and Restart app when files change
# Set memory threshold for app reload
# Specify log file
# Pass extra arguments to the script
# Delay between automatic restarts
# Prefix logs with time
# Do not auto restart app
# Specify cron for forced restart
# Attach to application log
#Managing processes
#List managed applications
#Display logs
#Terminal Based Dashboard
#Cluster mode
#Restart application on changes
#Updating PM2
CheatSheet Java Process Manager 2
# Fork mode
# Cluster mode
# Listing
# Logs
# Actions
# Misc
So, more understand about java process manager? Hoe you will understand how to use java process manager 2 or PM2