Skip to main content

Process Memory Monitor

Project description

Process Memory Monitor

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.

Installation

OS

proc-mem-monitor has been tested on CentOS 7.8 and Ubuntu 16.04.

Python

This program requires Python 3.6 or newer to run.

Ubuntu 16.04

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 

Redhat/CentOS 7.8

The default Python on CentOS 7.8 is already version 3.6. You only need to install Python Tkinter.

sudo yum install python36-tkinter

Create and activate a Python3 virtual environment

python3.6 -m venv venv
. venv/bin/activate

Install xbutil GUI as a regular user

pip install proc_mem_monitor

Install xbutil GUI as a contributor

Install required Python packages

pip install -r requirements.txt

Install proc-mem-monitor in development Mode

python setup.py develop

Run Process Memory Monitor

Run the command below from the Python virtual environment created above proc_mem_monitor

Snapshots

Process Memory Monitor on Tkinter GUI

image

Publish xbutil_gui to PyPI

./scripts/publish-pypi.sh

The following modules may need to be upgraded or installed:

pip install --upgrade pip
pip install twine

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

proc_mem_monitor-0.0.3.tar.gz (36.0 kB view details)

Uploaded Source

Built Distribution

proc_mem_monitor-0.0.3-py3-none-any.whl (37.5 kB view details)

Uploaded Python 3

File details

Details for the file proc_mem_monitor-0.0.3.tar.gz.

File metadata

  • Download URL: proc_mem_monitor-0.0.3.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.7.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.6.9

File hashes

Hashes for proc_mem_monitor-0.0.3.tar.gz
Algorithm Hash digest
SHA256 ab8a32b7c0e09031a4c8ee7c0f401a5869c6103377c93ebe8082182d110e29d0
MD5 7b44bcdc1f67dd27dda1b1c73cae26aa
BLAKE2b-256 75bd98340a3ed695cc789ee2c7c36d6a561c6d5e0c1748f8e5d5e10f5bd089e6

See more details on using hashes here.

File details

Details for the file proc_mem_monitor-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: proc_mem_monitor-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 37.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.7.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.6.9

File hashes

Hashes for proc_mem_monitor-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 41c11b1f8d8f08654faffdcd189b89dcc861dd75233c6cddddfb45d1ced87df3
MD5 f336e56da779ca8384338be0960d2348
BLAKE2b-256 5a1ceefb39b75493be76ce25fd1c2bf98e49e56988f5773f3caa9c6b737fc105

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page