Skip to main content

System monitor app using Tkinter

Project description

System Monitor for Python/Tk

GitHub License GitHub Release REUSE status CodeFactor Grade Maintainability

System monitor written in Python using Tk. It monitors CPU usage and temperature, RAM usage, and disk usage of the primary disk (containing the root partition). It also displays the system's hostname, IP address, uptime, and current process count.

Main Window

Pre-installation

Make sure the Python interface to Tcl/Tk (tkinter) is installed

Since this is a GUI application using tkinter, tkinter must be installed separately.

  • Debian, Ubuntu, and derivatives

    sudo apt install python3-tk
    
  • Fedora and derivatives

    sudo dnf install python3-tkinter
    
  • MacOS

    brew install python-tk
    

Install Using pip

Download the wheel file from the latest release, then install it. Once a PyPI account can be set up, the program will be downloadable from there.

pip install ./sysmon_pytk-0.4.1-py3-none-any.whl

Two versions of the program will be installed, a GUI program and a command line program.

To run the GUI program:

sysmon

To run the command line program:

cli_sysmon

Install Manually, for local development

Note when cloning this repo that it has a submodule Azure ttk theme which must be copied over:

git clone --recurse-submodules https://github.com/staceybellerose/sysmon-pytk.git

If you didn't clone the submodule when cloning this repo, run this to update:

git submodule update --init --recursive

Install the required python packages

make venv

Generate translation files

Translations are available in English, Spanish, German, and Norwegian Bokmål. To build the translation files, run the following bash commands:

make translations
Run the GUI program
While the venv is activated python -m sysmon_pytk.gui_monitor &
Explicitly using the venv venv/bin/python -m sysmon_pytk.gui_monitor &
Let make handle everything automatically make run
Run the command line program
While the venv is activated python -m sysmon_pytk.cli_monitor &
Explicitly using the venv venv/bin/python -m sysmon_pytk.cli_monitor &
Let make handle everything automatically make cli

Translations

Special thanks to our translators!

Language Code Translator
German de Alisyn Arness
Spanish es Stacey Adams (author)
Norwegian Bokmål nb_NO Allan Nordhøy

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

sysmon_pytk-0.5.0.tar.gz (139.2 kB view hashes)

Uploaded Source

Built Distribution

sysmon_pytk-0.5.0-py3-none-any.whl (200.5 kB view hashes)

Uploaded Python 3

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