You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reduce the load on the slurm database, we should also provide the functionality to filter on additional fields, like the partition, user, group, and account.
Relevant lines of the current config look like this
job_status: # A list of acceptable job states
- "completed"
- "failed"
- "node_fail"
I propose that we change the format of the config slightly, collecting all filter options in one section:
The status filter should remain mandatory (as we always want to filter out pending and running jobs). The other filters should be optional.
The filters should then be translated to the corresponding options for the sacct command:
-r, --partition
Comma separated list of partitions to select jobs and job steps from. The default is all partitions.
-A, --accounts=<account_list>
Displays jobs when a comma separated list of accounts are given as the argument.
-u, --uid=, --user=<uid_or_user_list>
Use this comma separated list of UIDs or user names to select jobs to display. By default, the running user's UID is used.
-g, --gid=, --group=<gid_or_group_list>
Displays the statistics only for the jobs started with the GID or the GROUP specified by the gid_list or the group_list operand, which is a comma-separated list. Space characters are not allowed. Default is no restrictions.
The text was updated successfully, but these errors were encountered:
When calling
sacct
, we currently can only select jobs based on the job state.AUDITOR/collectors/slurm/src/sacctcaller.rs
Lines 99 to 112 in 4115613
To reduce the load on the slurm database, we should also provide the functionality to filter on additional fields, like the partition, user, group, and account.
Relevant lines of the current config look like this
I propose that we change the format of the config slightly, collecting all filter options in one section:
The
status
filter should remain mandatory (as we always want to filter out pending and running jobs). The other filters should be optional.The filters should then be translated to the corresponding options for the
sacct
command:The text was updated successfully, but these errors were encountered: