| name | hpc-monitor |
| description | Use when the user wants a one-shot read-only status view of their compute โ local machine + SLURM GPU cluster + a scheduler-less CPU server + Matlantis (papermill MD jobs) โ as tqdm-style bars. Pure bash + ssh, no LLM/API. Triggers - hpcmon, HPC ๋ชจ๋ํฐ, GPU ํํฉ, ํ ์ํฉ, squeue, ์๋ฒ ํํฉ, ์ก ํํฉ, matlantis ์ก, MD ์ก ํ์ธ, "์ผ๋ง๋ busy". |
hpc-monitor
๋ก์ปฌ ๋จธ์ + ์๊ฒฉ 3์ข
(SLURM GPU ํด๋ฌ์คํฐ ยท ์ค์ผ์ค๋ฌ ์๋ CPU ์๋ฒ ยท Matlantis ์ธ์คํด์ค)์ ์ฌ์ฉ๋ฅ ยท์ก ํํฉ์ ํ ๋ฒ์ ๋ฝ๋ ์ฝ๊ธฐ์ ์ฉ bash ๋ชจ๋ํฐ. LLM/๋คํธ์ํฌ API ์์ด ์์ bash + ssh ๋ก ๋์ํ๋ฉฐ, ์๊ฒฉ์์ ์คํํ๋ ๋ช
๋ น์ ์ ๋ถ ๊ด์ธก์ฉ(squeue/sinfo/ps/free/uptime/grep/awk)์ด๋ผ ์๋ฒ ์ํ๋ฅผ ๋ฐ๊พธ์ง ์๋๋ค.
๊ตฌ์ฑ
monitor_all.sh โ ์ค์ผ์คํธ๋ ์ดํฐ. ์๋ 3๊ฐ๋ฅผ ๋ณ๋ ฌ SSH๋ก ๋์ง๊ณ ์ทจํฉ. hpcmon alias ๋์.
gpu_status.sh โ SLURM GPU ์ ์ /์คํ/๋๊ธฐ ํํฉ (๋ก๊ทธ์ธ ๋
ธ๋์์ ์คํ).
mace_status.sh โ ์ค์ผ์ค๋ฌ ์๋ CPU ์๋ฒ load/RAM/๊ณ์ฐ ํ๋ก์ธ์ค.
mtl_status.sh โ Matlantis papermill ๋ฐฑ๊ทธ๋ผ์ด๋ ์ก ํํฉ + "๋ด ์ก" ์งํ๋ฅ .
Usage
hpcmon
๊ฐ๋ณ ์คํ:
ssh "$HPC_HOST" "bash -s -- $SLURM_USER" < gpu_status.sh
ssh "$CPU_HOST" 'bash -s' < mace_status.sh
ssh "$MTL_HOST" "bash -s -- $MTL_PREFIX" < mtl_status.sh
์
์
์์ธ๋ README.md, ์์ด์ ํธ์ฉ ์๋ด๋ AGENTS.md ์ฐธ๊ณ .