C++ Process Manager (CPM)
April 5, 2026 ยท View on GitHub
An htop-like process manager made in C++ using the ftxui library for TUI functionality.
Functions
- See all running processes
- See the processes' PID, name, state, memory usage, CPU usage
- See the process states (Sleeping, Running, Zombie...)
- Send a SIGnal to kill or control a specific process
- Order processes by PID, name, state, memory usage or CPU usage
TO-DO
- Staticly define keybinds
- Separate useless stuff into functions to bottoms of files
- Search
- Filters
Installation
Install dependencies:
cmakefor building the projectg++for compiling the C++ codelibftxui-devfor the TUI library
Quick CPM install with curl:
curl -sL https://raw.githubusercontent.com/ondrejhonus/cpp_proc/main/quick-install.sh | bash
Install with the provided install script:
To install the compiled binary into your system's local bin directory, use:
./install.sh
Build from source manually
git clone https://github.com/ondrejhonus/cpp_proc.git
cd cpp_proc
cmake -B build
make -C build -j$(nproc)
sudo make -C build install
You can then run the program with typing
cpminto the terminal.
Compilation and Execution (For development)
To compile and run the program, use the provided compile-run.sh script:
./compile-run.sh
Contributing
- Fork the repository and create a new branch for your feature or bug fix.
- Create a pull request with a clear description of your changes and why they are needed.