srun
Verified for current stable LTS
Srun Command: Connect To Worker Node With Job
Use for connect to worker node with job with Srun. Exact CLI syntax to connect to worker node with job using Srun.
When to use this: Use for connect to worker node with job with Srun.
Command Syntax
srun --jobid <job_id> --pty /bin/bash srun --jobid <job_id> --pty /bin/bash Live Command Builder
Final Command
srun --jobid <job_id> --pty /bin/bash Command Breakdown
--jobid- Command Option
- Tool-specific option used by this command invocation.
--pty- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to connect to worker node with job using Srun.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Srun Command: Allocate Memory For Job
srun --mem 8G <path/to/program> Srun Command: Run Interactive Command srun hostname Srun Command: Run Job And Save Output To File srun <path/to/program> > <path/to/output> Srun Command: Run Job On Specific Partition srun -p gpu <path/to/program> Srun Command: Run Job With Tasks srun -n 4 <path/to/program>