/generate-process-tree

Simple application to list a tree of processes by a PID in Linux.

Primary LanguageC++

license

Overview

A simple application to visualize processes' tree of Linux based systems. The main part of code was developed with C++, which catch processes informations on folder /proc and save them in a json file. The graphical interface uses HTML, CSS and Javascript to show the informations as clearly as possible.

Installation

To use this application is needed install Boost Filesystem Library:

Debian Based: sudo apt-get install libboost-all-dev

Fedora: yum install boost-devel

Usage

To execute system, first compile the project running the file ./compile.sh. After that, execute the program ./bin/generate [number_of_process] [time_interval_in_seconds]. The program will be running on terminal, and now open the file pages/index.html with some browser to see the processes' tree.

Example

A screen of tree's visualization:

Team

| Vinicius Campos
Vinicius Campos

👀 | Vitor Rodrigues Greati
Vitor Rodrigues Greati

👀 | :---: | :---: | :---: | :---: |