<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Chandan Gupta Bhagat</title>
    <description>The latest articles on DEV Community by Chandan Gupta Bhagat (@thechandanbhagat).</description>
    <link>https://dev.to/thechandanbhagat</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1325171%2F2d2b05d8-8930-4ea1-afa9-967a21010e74.jpeg</url>
      <title>DEV Community: Chandan Gupta Bhagat</title>
      <link>https://dev.to/thechandanbhagat</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thechandanbhagat"/>
    <language>en</language>
    <item>
      <title>EZ PM2 GUI: a web dashboard for managing PM2 and investigating logs</title>
      <dc:creator>Chandan Gupta Bhagat</dc:creator>
      <pubDate>Mon, 09 Nov 2026 03:49:48 +0000</pubDate>
      <link>https://dev.to/thechandanbhagat/ez-pm2-gui-a-web-dashboard-for-managing-pm2-and-investigating-logs-2hmk</link>
      <guid>https://dev.to/thechandanbhagat/ez-pm2-gui-a-web-dashboard-for-managing-pm2-and-investigating-logs-2hmk</guid>
      <description>&lt;p&gt;I build and maintain &lt;a href="https://github.com/thechandanbhagat/ezpm2gui" rel="noopener noreferrer"&gt;EZ PM2 GUI&lt;/a&gt;, an open-source web interface for the PM2 process manager. It brings process controls, metrics and logs together in a browser, including when you’re working with remote servers.&lt;/p&gt;

&lt;p&gt;The current release, &lt;strong&gt;v1.13.0&lt;/strong&gt;, expands the log investigation workflow. Here’s a look at what the project does and how to get started.&lt;/p&gt;

&lt;h2&gt;
  
  
  From a process list to an investigation
&lt;/h2&gt;

&lt;p&gt;The dashboard shows PM2 processes alongside CPU and memory information. You can start, stop and restart processes, inspect logs, view live and historical metrics, and connect to remote servers over SSH. There are also interfaces for deployment, cluster management, cron jobs and PM2 modules.&lt;/p&gt;

&lt;p&gt;The aim is to make common operational tasks accessible from one place while keeping PM2 underneath as the process manager.&lt;/p&gt;

&lt;h2&gt;
  
  
  AI-assisted log analysis
&lt;/h2&gt;

&lt;p&gt;The log viewer can send a bounded snapshot of local or remote logs for analysis using an installed Claude Code, Codex, Cursor Agent or GitHub Copilot CLI, or an Ollama model. The CLI tools use their existing sign-in; EZ PM2 GUI does not bundle the agents, models or credentials.&lt;/p&gt;

&lt;p&gt;Before analysis, you can review the log snapshot. Common credentials are redacted, and cloud analysis requires explicit consent. Redaction is not a guarantee that every sensitive value is removed, so review the snapshot before sending it. The report suggests diagnostic checks; it does not make process changes for you.&lt;/p&gt;

&lt;p&gt;In v1.13.0, investigations have a persistent sidebar with separate conversations, follow-up questions and SQLite-backed history. Analysis can continue while the sidebar is hidden or the page is reloaded. You can also choose local or cloud Ollama models and optional model overrides for supported installed CLI providers.&lt;/p&gt;

&lt;p&gt;The earlier &lt;a href="https://youtu.be/EPwORhBHupU" rel="noopener noreferrer"&gt;AI log analysis demo&lt;/a&gt; shows the preview and consent flow using sample logs and a simulated report. There’s also a &lt;a href="https://youtu.be/u1ckawU-sg4" rel="noopener noreferrer"&gt;product walkthrough&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;You’ll need Node.js and PM2 installed. Install the GUI globally and start it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; pm2
npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; ezpm2gui@1.13.0
ezpm2gui
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then open &lt;a href="http://localhost:3101" rel="noopener noreferrer"&gt;http://localhost:3101&lt;/a&gt;. If your processes use a custom PM2 home, set &lt;code&gt;PM2_HOME&lt;/code&gt; to the same directory before starting the GUI. The &lt;a href="https://github.com/thechandanbhagat/ezpm2gui" rel="noopener noreferrer"&gt;README&lt;/a&gt; covers configuration, remote connections and the provider setup in more detail.&lt;/p&gt;

&lt;p&gt;The project is open source under AGPL-3.0-or-later. If you use PM2, I’d love to hear which parts of your monitoring or debugging workflow could be easier.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/thechandanbhagat/ezpm2gui" rel="noopener noreferrer"&gt;Source on GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.npmjs.com/package/ezpm2gui" rel="noopener noreferrer"&gt;npm package&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://ezpm2gui.chandanbhagat.com.np/" rel="noopener noreferrer"&gt;Documentation and screenshots&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>opensource</category>
      <category>ai</category>
      <category>devops</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
