LinuxCommandLibrary

qmassa

Terminal-based tool for displaying GPU usage stats on Linux

TLDR

Launch the GPU monitor TUI
$ qmassa
copy
Save stats to a JSON file
$ qmassa --json [output.json]
copy
Replay data from a JSON file
$ qmassa --replay [stats.json]
copy
Plot SVG charts from a JSON file
$ qmassa --plot [stats.json]
copy

SYNOPSIS

qmassa [options]

DESCRIPTION

qmassa is a terminal-based tool for displaying GPU usage statistics on Linux. It shows device information and DRM client processes using the GPU. It supports recording stats to JSON, replaying recorded data, and generating SVG charts for visualization.

PARAMETERS

--json FILE

Save GPU stats to a JSON file.
--replay FILE
Replay previously recorded stats in the TUI.
--plot FILE
Generate SVG charts from recorded JSON data.

CAVEATS

Requires Linux kernel 6.8 or later for full usage stats. Needs libudev development packages to compile.

HISTORY

qmassa was created by Ulisses Furquim (ulissesf) and is written in Rust.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard