Scheduler Commands Cheat Sheet: Difference between revisions

From HPCWIKI
Jump to navigation Jump to search
(Add categories: Linux, Reference)
(Fix: remove --- horizontal lines (7 removed))
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== Scheduler Command Cheat Sheet<ref>https://wiki.anunna.wur.nl/index.php/SLURM_Compare</ref> ===
{{Status
|status=Draft
|owner=Knowledge Agent
|last_update=2026-07-16
|review=Pending
}}
 
{{TOC}}
 
== Overview ==
 
Scheduler Commands Cheat Sheet에 대한 기술 문서입니다.
 
=== Summary ===
 
* 무엇인가? - Scheduler Commands Cheat Sheet
* 왜 필요한가? - HPC 및 서버 환경에서 필수 개념
* 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시
 
 
== Purpose ==
 
이 문서가 존재하는 이유
 
* Goal: Scheduler Commands Cheat Sheet에 대한 기술 정보 제공
* Scope: Scheduler Commands Cheat Sheet의 개념, 사용법, 설정
* Non-goals: 다른 주제로의 확장
 
 
== Key Concepts ==
 
{| class="wikitable"
! Concept
! Description
! Related
|-
| Scheduler Commands Cheat Sheet
| HPC/서버 환경에서 중요한 기술 개념
| [[Linux]], [[Server]]
|}
 
 
== Detailed Explanation ==
 
PBS/Torque, Slurm, LSF, SGE and LoadLeveler Rosetta Stone
PBS/Torque, Slurm, LSF, SGE and LoadLeveler Rosetta Stone
This table lists the most common command, environment variables, and job specification options used by the major [[workload]] management systems: PBS/Torque, Slurm, LSF, SGE and LoadLeveler. Each of these workload managers has unique features, but the most commonly used functionality is available in all of these environments as listed in the table. This should be considered a work in progress and contributions to improve the document are welcome.  
This table lists the most common command, environment variables, and job specification options used by the major [[workload]] management systems: PBS/Torque, Slurm, LSF, SGE and LoadLeveler. Each of these workload managers has unique features, but the most commonly used functionality is available in all of these environments as listed in the table. This should be considered a work in progress and contributions to improve the document are welcome.  
{| class="wikitable"
{| class="wikitable"
Line 21: Line 63:
|qdel [job_id]
|qdel [job_id]
|scancel [job_id]
|scancel [job_id]
|bkill [job_id]
 
|qdel [job_id]
 
|llcancel [job_id]
== Best Practices ==
|-
 
|Job status (by job)
* 최신 버전 사용 권장
|qstat [job_id]
* 공식 문서 참고
|squeue --job [job_id]
* 테스트 환경에서 먼저 검증
|bjobs [job_id]
 
|qstat -u \* [-j job_id]
 
|llq -u [username]
== References ==
|-
 
|Job status (by user)
* [https://wiki.hpcmate.com Scheduler Commands Cheat Sheet]
|qstat -u [user_name]
 
|squeue -u [user_name]
 
|bjobs -u [user_name]
== Related Pages ==
|qstat [-u user_name]
 
|llq -u [user_name]
* [[Linux]]
|-
* [[Server]]
|Job hold
* [[Hardware]]
|qhold [job_id]
* [[Network]]
|scontrol hold [job_id]
 
|bstop [job_id]
 
|qhold [job_id]
[[Category:Server]]
|llhold -r [job_id]
== Knowledge Graph ==
|-
 
|Job release
Related
|qrls [job_id]
 
|scontrol release [job_id]
→ [[Linux]]
|bresume [job_id]
[[Server]]
|qrls [job_id]
[[Hardware]]
|llhold -r [job_id]
[[Network]]
|-
|Queue list
|qstat -Q
|squeue
|bqueues
|qconf -sql
|llclass
|-
|Node list
|pbsnodes -l
|sinfo -N OR scontrol show nodes
|bhosts
|qhost
|llstatus -L machine
|-
|Cluster status
|qstat -a
|sinfo
|bqueues
|qhost -q
|llstatus -L cluster
|-
|GUI
|xpbsmon
|sview
|xlsf OR xlsbatch
|qmon
|xload
|-
|'''Environment'''
|'''PBS/Torque'''
|'''Slurm'''
|'''LSF'''
|'''SGE'''
|'''LoadLeveler'''
|-
|Job ID
|$PBS_JOBID
|$SLURM_JOBID
|$LSB_JOBID
|$JOB_ID
|$LOAD_STEP_ID
|-
|Submit Directory
|$PBS_O_WORKDIR
|$SLURM_SUBMIT_DIR
|$LSB_SUBCWD
|$SGE_O_WORKDIR
|$LOADL_STEP_INITDIR
|-
|Submit Host
|$PBS_O_HOST
|$SLURM_SUBMIT_HOST
|$LSB_SUB_HOST
|$SGE_O_HOST
|
|-
|Node List
|$PBS_NODEFILE
|$SLURM_JOB_NODELIST
|$LSB_HOSTS/LSB_MCPU_HOST
|$PE_HOSTFILE
|$LOADL_PROCESSOR_LIST
|-
|Job Array Index
|$PBS_ARRAYID
|$SLURM_ARRAY_TASK_ID
|$LSB_JOBINDEX
|$SGE_TASK_ID
|
|}
[[Category:Linux]]


[[Category:Reference]]
[[Category:Reference]]

Latest revision as of 11:30, 17 July 2026

Template:Status

Template:TOC

Overview

Scheduler Commands Cheat Sheet에 대한 기술 문서입니다.

Summary

  • 무엇인가? - Scheduler Commands Cheat Sheet
  • 왜 필요한가? - HPC 및 서버 환경에서 필수 개념
  • 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시


Purpose

이 문서가 존재하는 이유

  • Goal: Scheduler Commands Cheat Sheet에 대한 기술 정보 제공
  • Scope: Scheduler Commands Cheat Sheet의 개념, 사용법, 설정
  • Non-goals: 다른 주제로의 확장


Key Concepts

Concept Description Related
Scheduler Commands Cheat Sheet HPC/서버 환경에서 중요한 기술 개념 Linux, Server


Detailed Explanation

PBS/Torque, Slurm, LSF, SGE and LoadLeveler Rosetta Stone This table lists the most common command, environment variables, and job specification options used by the major workload management systems: PBS/Torque, Slurm, LSF, SGE and LoadLeveler. Each of these workload managers has unique features, but the most commonly used functionality is available in all of these environments as listed in the table. This should be considered a work in progress and contributions to improve the document are welcome.

User Commands PBS/Torque Slurm LSF SGE LoadLeveler
Job submission qsub [script_file] sbatch [script_file] bsub [script_file] qsub [script_file] llsubmit [script_file]
Job deletion qdel [job_id] scancel [job_id]


Best Practices

  • 최신 버전 사용 권장
  • 공식 문서 참고
  • 테스트 환경에서 먼저 검증


References


Related Pages

Knowledge Graph

Related

LinuxServerHardwareNetwork