How lucid1o/linux_processmanager works
Pulse is a Linux desktop process manager. A user opens the Qt interface, which presents live system metrics and a hierarchical, application-grouped process view; users can inspect recommendations or explicitly request process termination. The runtime separates UI, core logic, and collection. The graph preserves documented capabilities, including simulation and configurable rules. Source excerpts show startup and interfaces; some internal UI wiring is supported only by the README, so those links cite it rather than implying unsampled calls.
Main entry points: main_window.cpp Main window · system_collector.hpp Collector interface · dashboard_widget.cpp System dashboard · app_grouper.cpp Application grouper
Components 18
Desktop interface
- Main window
ui/src/main_window.cpp - System dashboard
ui/src/dashboard_widget.cpp - Trend graphs
ui/src/sparkline_widget.cpp - Process tree
ui/src/process_tree_model.cpp - Recommendations panel
ui/src/recommendations_panel.cpp - Action dialogs
ui/src/action_dialogs.cpp
Process management
- Process and metrics model
core/include/pulse/core/process_info.hpp - Application grouper
core/src/app_grouper.cpp - Process manager
core/src/process_manager.cpp - Rule engine
core/src/rule_engine.cpp - Default rules
resources/rules.json
System collection
- Collector interface
collector/include/pulse/collector/system_collector.hpp - Linux proc collector
collector/src/linux_proc_collector.cpp - Simulated collector
collector/src/simulated_collector.cpp
Linux interfaces
- procfs and sysfs
- Signal controller
ui/src/main.cpp - POSIX signals
Other components
- Desktop user
Connections 17
- Desktop user → Main window: uses
README.md - Main window → Collector interface: refreshes metrics
README.md - Collector interface → Linux proc collector: implemented by
- Collector interface → Simulated collector: implemented by
- Linux proc collector → procfs and sysfs: reads telemetry
README.md - Main window → Application grouper: groups processes
README.md - Application grouper → Process and metrics model: builds app trees
- Main window → Process tree: shows hierarchy
README.md - Main window → System dashboard: shows metrics
README.md - System dashboard → Trend graphs: renders trends
- Main window → Rule engine: evaluates observations
README.md - Rule engine → Default rules: loads rules
- Main window → Recommendations panel: shows recommendations
README.md - Desktop user → Action dialogs: confirms actions
README.md - Main window → Process manager: requests termination
README.md - Process manager → Signal controller: checks and signals
- Signal controller → POSIX signals: sends signals
ui/src/main.cpp