Skip to content

Server Monitoring

With PhanTerm, you can enjoy a production-grade monitoring dashboard without installing any agent components (like Node_exporter or even htop) on your server.

The monitoring feature directly reuses your current SSH connection. It operates by periodically sampling standard Linux /proc pseudo-filesystems and lightweight fundamental commands (like ps and df) in the background. This results in extremely low overhead, making CPU and network bandwidth consumption practically negligible.

Once connected, a compact resource summary (including CPU, memory, and real-time network up/down speeds) is permanently displayed at the top of the interface. This header is smartly responsive: when you narrow the terminal window, it automatically hides non-essential details to prevent ugly text wrapping.

When you need to troubleshoot server load or view waveforms: In Normal Mode, press M (uppercase) to pull down a highly detailed monitoring panel from the top.

In this panel, you can visually inspect:

  • Resource Usage: Precise usage of CPU, memory, and the root disk.
  • Dual-Channel Network Waveforms: Utilizes distinct highlighted lines to plot recent download (Rx) and upload (Tx) traffic trends. It dynamically and smoothly switches vertical axis units between KB/s, MB/s, and GB/s based on current traffic peaks.
  • Top Resource-Consuming Processes: The rightmost section of the panel lists the top 5 memory-hungry processes currently running.

Once you finish inspecting, simply press M again to collapse the panel and return the screen space to your terminal session.