/xtask

This is a simple task manager program for Linux systems that displays information about running processes.

Primary LanguageCMIT LicenseMIT

XTask

This is a simple task manager program for Linux systems that displays information about running processes.

Requirements

  • Linux-based operating system
  • gcc compiler
  • ncurses library

Installation

  1. Clone The Repository
git clone https://github.com/xanmoy/xtask.git
  1. Install ncurses library: For RHEL based systems
    sudo yum install ncurses-devel
    
    or
    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
  1. Compile the program:
    gcc -o xtask xtask.c -lncurses
  1. Run the program:
./xtask
  1. 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.

Controls

Use Ctrl+C to exit the program.

Structure

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.

License

This project is licensed under the MIT License - see the LICENSE file for details.