Linux command
sreport 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
sreport -p cluster utilization
Example
sreport job sizes printjobcount
Example
sreport user topusage
Example
sreport cluster AccountUtilizationByUser
Example
sreport cluster utilization Start=[YYYY-MM-DD] End=[YYYY-MM-DD]
Example
sreport -M [cluster_name] cluster utilization
说明
sreport generates usage and utilization reports from Slurm accounting data stored in slurmdbd. It produces reports on job statistics, user usage, cluster utilization, and reservation usage based on hourly, daily, and monthly rollup tables. Reports help administrators understand cluster usage patterns, identify top users, and track resource consumption across accounts and projects.
参数
- -a, --all_clusters
- Report on all clusters, not just local
- -M, --cluster _names_
- Specify cluster(s) for reports
- -n, --noheader
- Omit header from output
- -p, --parsable
- Pipe-delimited output with trailing pipe
- -P, --parsable2
- Pipe-delimited output without trailing pipe
- -t _time_format_
- Set time format for output (e.g., Seconds, Minutes, Hours, Percent)
- -T, --tres _tres_names_
- Specify trackable resources to report
- --federation
- Report for entire federation
- --local
- Report local cluster only
- -Q, --quiet
- Show errors only
- -v, --verbose
- Verbose output
- -V, --version
- Print version
FAQ
What is the sreport command used for?
sreport generates usage and utilization reports from Slurm accounting data stored in slurmdbd. It produces reports on job statistics, user usage, cluster utilization, and reservation usage based on hourly, daily, and monthly rollup tables. Reports help administrators understand cluster usage patterns, identify top users, and track resource consumption across accounts and projects.
How do I run a basic sreport example?
Run `sreport -p cluster utilization` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -a, --all_clusters do in sreport?
Report on all clusters, not just local