Quick Start Guide

Get up and running with S9S in just a few minutes! This guide covers the basics to help you start managing your SLURM cluster more efficiently.

🚀 First Launch

With SLURM Cluster

If you have access to a SLURM cluster:

# Launch S9S
s9s

# Or connect to a specific cluster
s9s --cluster production

Without SLURM (Mock Mode)

Try S9S without a SLURM cluster:

# Launch in mock mode with simulated data
s9s --mock

Mock mode is perfect for:

  • Learning S9S navigation
  • Testing workflows
  • Demo purposes
  • Development

🎯 Basic Navigation

View Switching

S9S organizes information into focused views. Switch between them using:

  • Tab - Cycle through views
  • Number keys (1-9) - Jump to specific view
  • :view <name> - Switch via command mode

Common views:

  1. Jobs - Monitor and manage jobs
  2. Nodes - View compute nodes
  3. Partitions - Cluster partitions
  4. Dashboard - Overview metrics

Essential Keyboard Shortcuts

KeyActionDescription
?
HelpShow all keyboard shortcuts
q
QuitExit S9S
/
SearchFilter current view
:
Command modeEnter commands
Tab
Switch viewCycle through views
j/k
NavigateMove down/up
Enter
SelectView details
Esc
CancelExit dialog/search

📊 Jobs View

The Jobs view is where you'll spend most of your time. Here's what you can do:

View Jobs

# Launch S9S directly to jobs view
s9s --view jobs

Common Operations

KeyActionExample Use
c
Cancel jobCancel a running/pending job
h
Hold jobPrevent job from starting
r
Release jobRelease a held job
d
DetailsView full job information
o
OutputView job output/logs
Enter
ExpandShow job details inline

Filtering Jobs

Use

/
to filter jobs:

# Examples:
/RUNNING        # Show only running jobs
/gpu            # Find GPU jobs
/user:john      # Jobs by user john
/time:>1h       # Jobs running >1 hour

Press

Esc
to clear filters.

💻 Nodes View

Monitor and manage compute nodes:

Common Operations

KeyActionDescription
d
DrainMark node for maintenance
r
ResumeReturn node to service
s
SSHConnect to node via SSH
i
InfoDetailed node information

Node States

  • idle - Available for jobs
  • allocated - Running jobs
  • drain - Scheduled for maintenance
  • down - Offline/unavailable

🎯 Practical Examples

Example 1: Cancel a Failed Job

  1. Launch S9S:
    s9s
  2. Press
    /
    and type
    FAILED
  3. Navigate to the job with
    j/k
  4. Press
    c
    to cancel
  5. Confirm with
    y

Example 2: SSH to a Node

  1. Switch to nodes view: press
    2
    or
    Tab
  2. Find your node with
    /nodename
  3. Press
    s
    to SSH
  4. S9S opens an SSH session

Example 3: Monitor GPU Jobs

  1. In jobs view, press
    /
  2. Type
    gpu
    or
    gres:gpu
  3. Press
    Enter
    to filter
  4. Press
    d
    on any job for GPU details

Example 4: Batch Operations

  1. Press
    Space
    to enter selection mode
  2. Use
    j/k
    to navigate,
    Space
    to select multiple jobs
  3. Press
    b
    for batch operations
  4. Choose action (cancel, hold, etc.)

🔍 Advanced Search

S9S supports powerful search syntax:

# Compound searches
/state:RUNNING user:alice     # Alice's running jobs
/partition:gpu time:<30m      # GPU jobs under 30 min

# Regex support
/name:~"analysis.*2023"       # Jobs matching pattern

# Numeric comparisons
/nodes:>4                     # Jobs using >4 nodes
/time:1h-2h                   # Jobs between 1-2 hours

⚡ Command Mode

Press

:
to enter command mode:

:help              # Show help
:quit              # Exit S9S
:view nodes        # Switch to nodes view
:export csv        # Export current view
:refresh           # Force refresh
:filter user:john  # Apply filter

🎨 Customization Quick Tips

Change Refresh Rate

# Set 2-second refresh
:set refresh 2s

# Disable auto-refresh
:set refresh 0

Theme Selection

# Built-in themes
:theme dark
:theme light
:theme terminal

Save Layout

# Save current layout
:save-layout my-layout

# Load saved layout
:load-layout my-layout

📝 Next Steps

Now that you know the basics:

  1. Explore all views - Each view has unique features
  2. Learn advanced filters - See Filtering Guide
  3. Set up your config - See Configuration Guide
  4. Master keyboard shortcuts - See Navigation Guide

💡 Pro Tips

  1. Use mock mode for practice -
    s9s --mock
    is risk-free
  2. Pin important filters - Save frequently used searches
  3. Multi-select is powerful - Space bar selects multiple items
  4. Command history - Use up/down arrows in command mode
  5. Context help - Press
    ?
    in any view for specific shortcuts

🆘 Getting Help