gamemodelist - Man Page

search for processes running with gamemode

Synopsis

gamemodelist

Description

gamemodelist will search the runtime of all processes running which started GameMode via libgamemodeauto.so and print them with ps(1) command output.  This helper script makes it easy to find which processes are utilizing GameMode via libgamemodeauto.so when troubleshooting potential game issues.

Usage

libgamemodeauto.so.0 will be found in the shared object maps of running processes utilizing GameMode.  Run the following command to print processes loaded with libgamemodeauto.so.0.  GameMode can be started other ways but this script will only detect processes utilizing GameMode via libgamemodeauto.so.

gamemodelist

Output

The output is a process table from ps(1) command.

PID PPID USER NI PSR COMMAND

Where each of these fields are defined in ps(1) manual.  For your convenience here's a definition for each field.

COLUMNDescription
PIDProcess ID
PPIDParent process ID
USERUser name owning the process.
NINice value. This ranges from 19 (nicest) to -20 (not nice to others), See nice(1).
PSRProcessor that process is currently assigned to.  Useful when setting process affinity using taskset(1) utility.
COMMANDCommand name (only the executable name).

See Also

gamemodrun(1), nice(1), ps(1), taskset(1).

About

GameMode source can be found at https://github.com/FeralInteractive/gamemode.git

Author

gamemodelist was authored by Sam Gleske (https://github.com/samrocketman/)

GameMode was authored by Feral Interactive (linux-contact@feralinteractive.com)

Info

4 May 2020 1.7 gamemodelist man page