Command Reference
Complete reference of available S9S commands for efficient cluster management.
Command Mode
Press
:Using Tab Completion
- Command completion: Type and press
:reqto complete toTab:requeue - Argument completion: Type and press
:cancelto see available job IDsTab - Smart suggestions: Completions are context-aware based on cached view data
Examples:
:req<Tab> → :requeue :requeue <Tab> → Shows: 12345, 12346, 12347... :drain nod<Tab> → Shows: node01, node02, node03... :q<Tab> → Shows: q, qos, quit
Available Commands
Navigation Commands
| Command | Description | Shortcut |
|---|---|---|
| Switch to jobs view | |
| Switch to nodes view | |
| Switch to users view | |
| Switch to partitions view | |
| Switch to dashboard | |
| Switch to reservations view | - |
| Switch to QoS view | - |
| Switch to accounts view | - |
| Switch to health view | - |
| Switch to performance view | - |
| Show help | |
| Exit S9S | |
View Management Commands
| Command | Description | Example |
|---|---|---|
| Refresh current view | |
| Show preferences | |
| Show layout switcher | |
| Show configuration | |
Job Management Commands
| Command | Description | Example | Autocomplete |
|---|---|---|---|
| Cancel a specific job | | Job IDs from active jobs |
| Hold a specific job | | Job IDs from active jobs |
| Release a held job | | Job IDs from active jobs |
| Requeue a failed/completed job | | Job IDs from active jobs |
Tab Completion: After typing the command and pressing space, press
TabNote: These commands operate on specific job IDs. For batch operations on selected jobs in the UI, use the keyboard shortcuts (
chrNode Management Commands
| Command | Description | Example | Autocomplete |
|---|---|---|---|
| Drain a node (make unavailable for new jobs) | | Node names from active nodes |
| Resume a drained node | | Node names from active nodes |
Tab Completion: After typing the command and pressing space, press
TabNote: The reason for draining is optional. If not provided, defaults to "Drained via s9s command".
Filtering and Search
| Command | Description | Example |
|---|---|---|
| Quick filter | |
| Advanced filter | |
| Clear all filters | |
Interactive Operations
S9S provides interactive keyboard shortcuts for common operations within each view:
Jobs View:
| Key | Action |
|---|---|
| Cancel selected job |
| Hold selected job |
| Release selected job |
| Show job details |
| Show job output |
| Toggle selection |
| Visual selection mode |
Nodes View:
| Key | Action |
|---|---|
| SSH to selected node |
| Show node details |
| Node info |
| Toggle selection |
Batch Operations:
- Select multiple items using or
Space(visual mode)v - Use keyboard shortcuts on selections for batch operations
- See Batch Operations Guide for details
Export Commands
Export functionality is available through the interactive UI:
Available Formats:
- CSV ()
.csv - JSON ()
.json - Markdown ()
.md - Text ()
.txt
Access Export:
- Press in any view to open export dialog
Ctrl+E - Select format and destination
- Configure export options interactively
Keyboard Shortcuts
Global Shortcuts
| Key | Action |
|---|---|
| Quit |
| Help |
| Refresh |
| Interrupt/Cancel |
| Clear/Cancel |
Navigation Shortcuts
| Key | Action |
|---|---|
| Dashboard view |
| Jobs view |
| Nodes view |
| Users view |
| Partitions view |
| Jobs view |
| Nodes view |
| Partitions view |
| Next view |
| Previous view |
View-Specific Shortcuts
Jobs View:
| Key | Action |
|---|---|
| Cancel job |
| Hold job |
| Release job |
| Show details |
| Show output |
| Show logs |
Nodes View:
| Key | Action |
|---|---|
| SSH to node |
| Node info |
| Show details |
Selection Shortcuts:
| Key | Action |
|---|---|
| Toggle selection |
| Visual selection mode |
| Visual line mode |
| Select all |
Filtering Shortcuts
| Key | Action |
|---|---|
| Quick filter |
| Clear filter |
Export Shortcuts
| Key | Action |
|---|---|
| Export dialog |
Advanced Features
Visual Selection Mode
Select multiple items for batch operations:
# Enter visual mode Press v # Select range with arrow keys Use ↑/↓ to expand selection # Apply operation to selection Press c to cancel selected jobs Press h to hold selected jobs Press r to release selected jobs
Filter Syntax
The filter system supports various filter expressions:
# Filter by user /user:alice # Filter by state /state:RUNNING # Filter by partition /partition:gpu # Combine filters /user:alice state:RUNNING partition:gpu # Numeric comparisons /nodes:>4 time:>2h
See the Filtering Guide for comprehensive filter documentation.
SSH to Nodes
SSH functionality is available in the Nodes view:
# Navigate to Nodes view :nodes # Select a node with arrow keys # Press 's' to open SSH session # SSH terminal opens in the UI # Exit SSH session to return to S9S
Getting Help
Command-Specific Help
:help # General help ? # Quick help
Documentation Resources
- User Guide - Comprehensive usage documentation
- Filtering Guide - Advanced filtering syntax
- Batch Operations - Batch operation workflows
Next Steps
- Master keyboard shortcuts for efficient navigation
- Learn filtering syntax for precise data views
- Explore batch operations for bulk job management