{"categories":[{"label":"Monitoring","url":"https://skillfed.io/packages/category/system-monitoring/4"}],"enrichment":{"capability":"Collects and preserves SLURM job efficiency metrics in Parquet format, analyzing CPU and memory usage patterns before SLURM's accounting database purges them after 30 days.","skillfed_tags":["hpc-cluster-management","slurm-integration","data-archival"],"use_cases":["Archive SLURM job metrics before the 30-day accounting purge to build a long-term efficiency baseline.","Analyze per-user and per-group resource consumption trends to identify wasteful job patterns.","Track node-level CPU and GPU utilization to detect hardware bottlenecks or imbalances.","Generate automated daily reports of cluster efficiency for capacity planning and billing.","Post-process collected Parquet data with polars for custom analytics or integration into dashboards."],"what_it_does":"slurm-usage is a command-line tool that captures and archives SLURM job metrics before they expire from the accounting database. It queries sacct in parallel, stores raw and processed data as Parquet files, and computes efficiency metrics (CPU utilization %, memory utilization %, wasted resources) for each job. The tool is designed for long-term analysis of resource usage patterns in HPC clusters, with built-in support for incremental collection, group-based analytics, and node utilization tracking.\n\nThe package provides a CLI with commands to collect job data, analyze historical trends, display current cluster usage, and inspect node information. It uses polars for columnar data operations, pydantic for schema validation, and rich for terminal output formatting. Data is organized into raw and processed directories with a completion tracker to avoid re-fetching already-processed dates. The tool is cron-ready and supports multi-threaded parallel collection by default.","worth_installing":"Yes, if you operate an HPC cluster with SLURM and need to preserve job metrics beyond the 30-day accounting window. The tool is actively maintained, has low install friction, and solves a real problem for long-term resource analysis. Not relevant for non-SLURM environments or clusters without accounting enabled."},"id":"slurm-usage","links":{"html":"https://skillfed.io/packages/slurm-usage","md":"https://skillfed.io/packages/slurm-usage.md","pypi":"https://pypi.org/project/slurm-usage/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-09-22","license_spdx":null,"license_treatment":"permissive","name":"slurm-usage","python_support":"supports_current","summary":"Command to list the current cluster usage per user."},"popularity":{"monthly_downloads":186180,"position":9993,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.1.0"}
