Repository navigation
Description
Problem
The system provider reports CPU and memory, but not which processes use them or how full the startup disk is. Stats and iStat Menus show both. Popups uses a lists.processes table as its example, yet only a script can fill it.
Proposal
lists.processeson thesystemprovider: the top processes by CPU, withname,pid,cpuandmemoryas display strings, as in the popups example. A setting picks the order (cpuormemory) and the row count, defaulting to 5.- Disk space for the startup volume:
values.diskUsedandvalues.diskTotalin bytes,values.diskas the used fraction, andfields.diskas a whole percentage, matchingmemory. - Sampling processes costs CPU, since CPU use needs two samples of every process. Compute
lists.processesonly while something displays it, such as an open popup with a list block that reads it, and leave the rest of the provider's work unchanged.
Both use public APIs: proc_listallpids and proc_pidinfo with PROC_PIDTASKINFO from libproc for processes, and URLResourceValues (volumeTotalCapacity, volumeAvailableCapacityForImportantUsage) for disk space. To verify: without root, proc_pidinfo may not return task info for processes owned by other users, such as WindowServer, which would leave them out of the list.
Possible today
Partly. A script can run ps -Aceo pid,pcpu,rss,comm -r | head and df -k /, as the popups example suggests. It starts processes on every refresh, and its package runs commands.
Related
- Register data sources behind one interface, including event-driven ones #17 listed a
diskprovider among the sources its registry would enable; feat: register data sources behind one interface, including event-driven ones #53 left it for its own pull request. - The store's system-monitor package shows CPU and memory and opens Activity Monitor for more; with this it could list processes without commands.
whenVisiblealready suspends providers that nothing shows; this would apply the same idea to one list.
Triaged by Claude Code via T3 Code (Claude Opus 5.5).
Activity
chore(release): 0.16.0 [skip ci]
stablebar-releases commentedon Nov 16, 2026
🎉 This issue has been resolved in version 0.16.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀