skills/get-available-resources/references/sources.md
Research cut-off: 2026-07-23. Every URL below was consulted on that date. Undated living documentation is labeled "living docs"; a date in parentheses is the page/release date visible in the source.
Process.cpu_affinity(), virtual_memory(),
swap_memory(), and disk_usage().os documentation —
Python 3.14.6 living docs. Used for os.cpu_count(),
os.process_cpu_count(), and os.sched_getaffinity().ProcessPoolExecutor defaults,
Windows' 61-worker maximum, and ThreadPoolExecutor defaults./proc filesystem documentation
— living kernel docs. Used for Cpus_allowed and
Cpus_allowed_list.cpu.max, cpuset.cpus.effective, memory.current, memory.high,
memory.max, hierarchy, reclaim, and cgroup OOM behavior.--cpus,
quota/period, cpusets, and memory controls.--query-gpu fields and
--format=csv,noheader,nounits; NVIDIA notes that index ordering is not
stable, which is why snapshots do not claim a persistent identity.NVIDIA_VISIBLE_DEVICES, driver capabilities, and
runtime constraints.CUDA_VISIBLE_DEVICES
— official deployment documentation. Used for CUDA application visibility.list/static JSON output and the
meaning of unavailable fields.rocm-smi read-only fallback.ROCR_VISIBLE_DEVICES,
HIP_VISIBLE_DEVICES, CUDA_VISIBLE_DEVICES, Docker device isolation, and
the warning that environment variables are not isolation for untrusted code.hw.logicalcpu,
hw.physicalcpu, hw.memsize, performance levels, and the distinction
between logical and physical cores.sysctl(3) manual
— archived official manual. Used to cross-check physical-memory fields.system_profiler output and the warning that DIMM-style details do not map
cleanly to integrated or Apple silicon memory.system_profiler SPDisplaysDataType -json and named sysctl -n
queries were smoke-checked locally on Darwin 25.5.0 on 2026-07-23. The
script never requests the full system profile.sbatch — living SchedMD
docs. Used for exact output environment-variable scopes:
SLURM_CPUS_ON_NODE, SLURM_CPUS_PER_TASK,
SLURM_JOB_CPUS_PER_NODE, SLURM_MEM_PER_CPU,
SLURM_MEM_PER_NODE, SLURM_NTASKS, and GPU variables. Also used for
the explicit warning that memory requests require configured enforcement.task/affinity, task/cgroup,
ConstrainCores, binding, and logical CPU/core allocation examples.srun — updated
2026-07-14. Used for task confinement and GPU binding behavior.scontrol — living docs.
Used for the read-only scontrol show job interpretation workflow.sstat — living docs. Used
for post-launch job-step accounting semantics.