A Python application for monitoring total memory usage of commands matching specified pattern. It displays the information either on Tkinter GUI if DISPLAY is availabe or on stdout if it's launched from a text-only termainl.
proc-mem-monitor has been tested on CentOS 7.8 and Ubuntu 16.04.
This program requires Python 3.6 or newer to run.
The default Python on Ubuntu 16.04 is version 3.5. Run the commands below to install Python 3.6
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6 python3.6-venv python3.6-tk
The default Python on CentOS 7.8 is already version 3.6. You only need to install Python Tkinter.
sudo yum install python36-tkinter
python3.6 -m venv venv
. venv/bin/activate
pip install proc_mem_monitor
pip install -r requirements.txt
python setup.py develop
Run the command below from the Python virtual environment created above
proc_mem_monitor
./scripts/publish-pypi.sh
The following modules may need to be upgraded or installed:
pip install --upgrade pip
pip install twine