Skip to content

Quickstart

Run qtop once

./qtop

This prints a single snapshot of cluster state.

./qtop -w

Watch mode gives an interactive, continuously refreshed view and is the best day-to-day mode.

Demo mode

./qtop -b demo -FGTw

Useful for testing output rendering and keyboard controls without connecting to a real scheduler.

Common usage patterns

./qtop | less -RS
./qtop -c OFF
./qtop -a
./qtop -d
  • less -RS: scroll wide output without line wrapping
  • -c OFF: disable ANSI colors
  • -a: try worker node remapping for irregular node naming
  • -d: emit debug info for issue reporting

Core command-line options

-a      Try WN name remapping
-b      Set backend / scheduler selection context
-c      Color mode: OFF|ON|AUTO
-d      Debug information (repeat for extra verbosity)
-f      Set colormap file
-i      LRMS override (historical/advanced)
-j      Job suffix override
-l      LRMS name override
-n      Override pbsnodes command
-o      Vertical separator spacing in node matrix
-p      Path containing scheduler binaries
-q      Override qstat command
-r      Replacement symbols for user IDs
-s      Source directory (offline mode)
-t      Alternative TMPDIR
-u      Command for DN/account mappings
-w      Watch mode / first-run autotune behavior
-x      Exclude one or more sections: SUMMARY|NODES|ACCOUNTS

Keyboard shortcuts in watch mode

  • j / k: down/up one screen
  • h / l: left/right one screen
  • g / G: top/bottom
  • 0 / $: far left/far right
  • R: refresh and reset viewport

Actions

  • f: filter nodes
  • F: toggle node ID style
  • m: toggle coloring mode
  • r: toggle core display modes
  • s: sorting controls
  • t: transpose matrix
  • q: quit

Reading the output

1) Accounting summary

Shows total/up/free nodes, core capacity, running+queued jobs, and queue counters.

Accounting summary

2) Worker node occupancy matrix

Shows node IDs, state, queue initials, and core-level allocations.

Worker nodes occupancy

Node state letters commonly include:

  • j: job-exclusive
  • b: busy
  • o: offline
  • d: down
  • -: free

3) User account information

Shows the mapping between one-character IDs and actual user accounts, with running/total job counters.

User account information

Reporting issues effectively

When reporting a bug, include:

  1. The exact command you ran
  2. What you expected to see
  3. What qtop actually showed
  4. Captured scheduler inputs (when possible)

This mirrors the original qtop troubleshooting model and remains the fastest path to a useful fix.