rtcqs, pronounced arteeseeks, is a Python port of the realtimeconfigquickscan project.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jeremy Jongepier 4db0b8e748 Rephrased description and removed rationale. 4 weeks ago
LICENSE Initial commit 2 months ago
README.md Rephrased description and removed rationale. 4 weeks ago
resources.py Moved base64 encoded PNG's to a separate file. 4 weeks ago
rtcqs.py Bumped version. /proc/config.gz data needs to be decoded. 4 weeks ago
rtcqs_gui.py Moved to a tabbed GUI to save screen estate. Added About window. 4 weeks ago
rtcqs_logo.svg Add logo 1 month ago

README.md

rtcqs

Introduction

rtcqs, pronounced arteeseeks, is an attempt to rewrite raboof's excellent realtimeconfigquickscan script in Python.

Features

Basically the same as realtimeconfigquickscan:

  • Root check
  • Audio group check
  • Background process check
  • CPU frequency check
  • High resolution timers check
  • System timer check
  • Preempt RT check
  • rtprio check
  • Swappiness check
  • max_user_watches check
  • Filesystem check

Added features:

  • Spectre/Meltdown mitigations check
  • Basic IRQ check of sound cards and USB ports
  • Qt GUI

Usage

When writing this script I could rely on Python's built-in functionality so no extra modules are needed, just Python 3. To run the script first clone this repository.

git clone https://codeberg.org/rtcqs/rtcqs.git

Then cd into the newly created directory.

cd rtcqs

And run the script.

./rtcqs.py

GUI

To run the GUI first install the PySimpleGUIQt module either in your home directory or a virtual environment.

Home directory

Make sure pip is installed, on Ubuntu this would be the python3-pip package. Then install PySimpleGUIQt for your user.

pip install PySimpleGUIQt

Virtual Environment

Make sure the virtual environment module is installed, on Ubuntu this would be python3-venv. Then create a virtual environment in the rtcqs directory and install PySimpleGUIQt in there.

python3 -m venv venv &&
. venv/bin/activate &&
pip install --upgrade pip setuptools PySimpleGUIQt

You can now run the GUI with ./rtcqs_gui.py. Next time you'd like to run the GUI load the virtual environment again and spin up the GUI.

. venv/bin/activate
./rtcqs_gui.py

Overview

When running the GUI it will immediately show the results of the checks. All checks have their own tab. Each tab title consists of a symbol that shows the check result and the name of the check. A ✔ means the check was successful while a ✘ means rtcqs encountered an issue. This way you can quickly spot which checks have issues.

Clicking 'Cancel' will close rtcqs. Clicking 'About' will bring up a popup window which displays the version and a short description.


rtcqs main window


rtcqs about window

Future plans

  • Make the project more dynamic and modular so it gets easier to add new features

Contact

To contact me send me a mail or if it's a technical issue or question, use this project's issue tracker.

Thanks

Many thanks of course to the original author of realtimeconfigquickscan, Arnout Engelen a.k.a. raboof.