Per-session resource usage view (CPU, memory, disk)
- 主要语言
- 没有语言数据
- 星标
- 2.1k
- 派生
- 153
- PR 合并指标
- 30 天内没有已合并 PR
描述
### Feature summary
_No response_
### What problem are you trying to solve?
When I run several agent sessions at the same time, my machine sometimes runs low on CPU, memory, or disk, and sessions slow down. Today there is no way inside the app to see which session is responsible.
The operating system's own tools (Activity Monitor, Task Manager, `top`) only show individual processes. They cannot tell me which session a process belongs to, so when many sessions run in parallel each starting its own builds, servers, and tests, it is very hard to find the one that is causing the slowdown.
Disk is a particular pain point. Session working directories add up quickly, and I have no easy way to tell which sessions are using the most space so I can clean them up.
### Proposed solution
A view in the app that shows resource usage grouped by session instead of by individual process:
- CPU and memory per session, including everything that the session starts, so the numbers reflect the real cost of a session.
- Disk usage per session, so it is clear which sessions are taking up space.
- A list of all active sessions, sortable by usage, so the heaviest session is easy to find.
- An optional visual view (for example a treemap) to spot the largest consumers at a glance.
### Workflow impact
_No response_
### Installation context
_No response_
### Additional context
_No response_
贡献指南
调研方向
该 issue 未指出任何文件、测试或入口点,因此首先确定 desktop app 如何跟踪会话、其子进程和工作目录。完成后应提供活动会话视图,显示每个会话的 CPU、内存和磁盘使用情况并支持排序,同时包括由各会话启动的资源。
由索引模型根据 Issue 内容生成。
评估
- 领域
- desktop, performance
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100