hyperion-start / hyperion-core

A Tmux based System Startup Engine
GNU General Public License v3.0
8 stars 3 forks source link

Decide which programming language to use #1

Closed DavidPL1 closed 6 years ago

DavidPL1 commented 6 years ago

Python and C++ are in question.

TODO: research how to monitor running processes and CPU stats with C++ and Python and decide based on the available tools

DavidPL1 commented 6 years ago

Module: https://pypi.org/project/psutil/ or directly use shell scripting in python: https://docs.python.org/2/library/subprocess.html


read infos from /proc in c++: https://gitlab.com/procps-ng/procps (proc/readproc.c) library to run shell scripts and get output to process: https://github.com/jwakely/pstreams

DavidPL1 commented 6 years ago

For now python seems to be the right choice, since we'll try to base Hyperion on TMuLE