This is a simple task manager program for Linux systems that displays information about running processes.
- Linux-based operating system
gcc
compilerncurses
library
- Clone The Repository
git clone https://github.com/xanmoy/xtask.git
- Install ncurses library:
For RHEL based systems
or
sudo yum install ncurses-devel
sudo dnf install ncurses-devel
For Debian based systems
sudo apt install libncurses-dev
For Arch based systems
sudo pacman -S ncurses
For Gentoo Linux
sudo emerge --sync
sudo emerge --ask sys-libs/ncurses
- Compile the program:
gcc -o xtask xtask.c -lncurses
- Run the program:
./xtask
- Install The Program
sudo make install
The program will continuously display the list of processes with their PID, command name, state, memory usage, and CPU usage. The screen updates every 2 seconds.
Use Ctrl+C to exit the program.
xtask.c: Source code of the XTask. README.md: This file providing instructions and information about the program. Makefile: Contributing Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.