rammap_treemap
Generate an interactive HTML treemap of process memory usage by category, with hover details for PID, working set, and private bytes.
Instructions
Generate a WizTree-style interactive treemap of process memory usage.
Creates a self-contained HTML file with an embedded D3.js squarified treemap, colored by process category (system, browser, dev, media, etc.) with hover tooltips showing PID, working set, and private bytes.
The HTML is fully self-contained (loads D3 from CDN) and opens in any browser.
Return Format
{"success": bool, "file_path": str, "processes": int, "total_mb": float}
Examples
rammap_treemap(top_n=100, min_ws_mb=0.5)Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | Number of top processes to include in treemap | |
| min_ws_mb | No | Minimum working set in MB to include |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||