Skip to main content

qtop

build-qtop Python 3 OpenSSF Scorecard

qtop is a scheduler-independent observability layer for HPC clusters, with an extremely fast terminal interface. It is a portable, dependency-light cluster observability and scheduler debugging tool for Slurm, PBS, SGE and OAR - and even more, with your contributed plugin effort.

See your whole cluster in one terminal. Capture it. Replay it. Compare it.

qtop terminal demo

Why qtop?

Schedulers expose a great deal of information, but their native commands rarely provide one concise view of jobs, queues, nodes, states, and core occupancy. qtop turns scheduler output into a consistent terminal dashboard that is useful during daily operations and incident analysis.

  • See cluster utilization, queues, users, node states, and per-core job placement.
  • Use the same interface across Slurm, PBS/Torque, SGE, and OAR.
  • Filter, sort, highlight, transpose, and navigate large worker-node matrices interactively.
  • Capture scheduler output for bug reports or offline investigation.
  • Replay recent frames to understand scheduling changes over time.
  • Export normalized cluster data as JSON.
  • Run without a resident service, database, or heavy runtime dependency stack.

Quick start

Clone the repository and launch the built-in demo:

git clone https://github.com/qtop/qtop.git
cd qtop
./qtop -b demo -FGTw

On a scheduler host, qtop can normally discover the available scheduler:

./qtop -w

Select it explicitly when needed:

./qtop -b slurm -w
./qtop -b pbs -w
./qtop -b sge -w
./qtop -b oar -w

The optional value after -w is the refresh interval in seconds. For example, -w 10 refreshes every ten seconds; without a value, watch mode refreshes every two seconds.

Run ./qtop --help for the complete command-line reference. While watch mode is active, press ? for the interactive key map.

Installation

From source

git clone https://github.com/qtop/qtop.git
cd qtop
./qtop --version

From PyPI

python3 -m pip install --user qtop
$HOME/.local/bin/qtop --version

PyPI currently serves qtop's legacy 2016 release. Until the next release is published, install from source for current Slurm support and recent fixes. A system-wide or virtual-environment installation can omit --user.

Capture, inspect, and replay

Read scheduler traces from a directory instead of invoking live commands:

./qtop -b slurm -s /path/to/slurm-traces

Create a support sample containing qtop output, logs, and scheduler traces:

./qtop -L

Replay automatically captured frames from a specific time:

./qtop -R 1823

Export the normalized cluster state as JSON:

./qtop -E

See the full documentation for trace filenames, configuration, filtering, replay formats, anonymization, and scheduler-specific notes.

How it works

qtop separates scheduler-specific collection and parsing from a common cluster-state model and terminal presentation:

  1. A scheduler plugin collects live command output or reads saved traces.
  2. The plugin normalizes jobs, nodes, and queues into a shared cluster state.
  3. qtop renders that state in a fast terminal view or exports it for other tools.

This design keeps the core scheduler-independent and makes support for another batch system a bounded plugin contribution.

Compatibility

qtop targets Python 3 and Linux-based HPC environments. Its CI matrix covers modern Python versions and retains a dependency-light compatibility lane for older enterprise distributions commonly found on clusters.

The project is approaching 1.0 and still contains explicitly marked experimental features. Stable terminal monitoring remains the primary interface.

Maintainers and contributors can reproduce the release gates with make ci, run the modern-Python type gate with make type-check, and replay the bounded parser stress corpus with make deterministic-fuzz.

Documentation and community

Bug reports with captured scheduler samples are especially valuable. New scheduler plugins, sample fixtures, documentation improvements, and portability fixes are welcome.

Python port by Sotiris Fragkiskos. Original Bash version by Fotis Georgatos.

License: MIT.

Metadata

Release files for qtop 0.9.20261001

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qtop 0.9.20261001
File Size Uploaded Provenance Actions
qtop-0.9.20261001.tar.gz 1.1 MB With provenance Details for qtop-0.9.20261001.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qtop 0.9.20261001
File Interpreter ABI Platform Actions
qtop-0.9.20261001-py3-none-any.whl Python 3 none any Details for qtop-0.9.20261001-py3-none-any.whl

Total release size: 1.9 MB

Release files / qtop-0.9.20261001.tar.gz

Download URL qtop-0.9.20261001.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
1727804235950fdafe1cb50250915ed28805b75a308b5f58d912dc85a8ed58d6
BLAKE2b-256 checksum
How to use checksums
57acd654dca0907c623b7a466ae583119d0d3bc0ae1c05c8b884d10e166fc415
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / qtop-0.9.20261001-py3-none-any.whl

Download URL qtop-0.9.20261001-py3-none-any.whl
Size 818.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa1677aa62bb55686b77115723a73f51d42164c17922e71df1ec817b93d21768
BLAKE2b-256 checksum
How to use checksums
a8a306ec215de086883906d7d2fe6974744ffaecb984093798dcfd5e080f13d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for qtop 0.9.20261001

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for qtop-0.9.20261001.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.9.20161216

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page