Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

max-wittig/process_tracker

Repository files navigation

Process_Tracker

command line program, which tracks the current running processes

logs can be visualized by the Process Visualizer

install

  1. Install the debian dependency
 # apt install python3-psutil python3-pip 
  1. Install the python dependency
 # pip3 install psutil 
  1. Run the program
 $ python3 main.py 
  1. Let it run and press ENTER once you're done

  2. Import the log in the Process Visualizer and enjoy the view

example visualization

image

usage

usage: Process Tracker [-h] [-l LOAD] [-o OUTPUT] [-i INCLUDED [INCLUDED ...]]
                       [-e EXCLUDED [EXCLUDED ...]] [-b BUILD] [-m]

optional arguments:
  -h, --help            show this help message and exit
  -l LOAD, --load LOAD  Load settings file
  -o OUTPUT, --output OUTPUT
                        Specify output filename
  -i INCLUDED [INCLUDED ...], --included INCLUDED [INCLUDED ...]
                        Set processes that should be tracked
  -e EXCLUDED [EXCLUDED ...], --excluded EXCLUDED [EXCLUDED ...]
                        Set processes that shouldn't be tracked
  -b BUILD, --build BUILD
                        Build settings file, based on current running
                        processes --> excluded_processes
  -m, --manual          Manual input