A lightweight macOS terminal tool to monitor **Node.js memory and CPU usage** over time, with optional tracking of **Chromium / Puppeteer child processes**.
A lightweight macOS terminal tool to monitor Node.js memory and CPU usage over time, with optional tracking of Chromium / Puppeteer child processes.
bash
npm install node-memory-monitor
`Usage
`bash
sh monitor_node_service.sh [DURATION_SEC] [MONITOR_CHROME]
`Example:
`bash
sh monitor_node_service.sh 12345 60 true
`Output
Generates report.csv` with memory and CPU statistics.