jstAnotherCapi's picture
Upload folder using huggingface_hub
ba3ecf1 verified
Raw
History Blame Contribute Delete
647 Bytes
#!/bin/bash
#PBS -N khalil_vmstat_monitoring
#PBS -l select=1:ncpus=20:mem=180gb:ngpus=1
#PBS -q gpu_1d
#PBS -o vmstat_logs/vmstat_output.log
#PBS -e vmstat_logs/vmstat_error.log
# === Load modules & activate conda (optional, can remove if not needed) ===
module use /app/common/modules
module load anaconda3-2024.10
# === Move to working directory ===
cd /home/skiredj.abderrahman/khalil/sbert_training
echo "==== Job running on node: $(hostname -s) ===="
echo "==== Monitoring started at $(date) ===="
# === Collect vmstat every 30 minutes (1800 seconds) ===
# This runs until the PBS job ends
vmstat 1800 >> vmstat_logs/vmstat_30min_%J.txt