我们在 Beowulf 集群上使用 Slurm 作为资源管理器,因此我在工作站上安装了 Slurm,以便在将脚本提交到集群之前对其进行测试。
当我尝试在工作站上列出旧作业时,sacct
不会按日期过滤它们。
$ sacct -o jobid,state,start,end -S 2017-06-11T00:00
JobID State Start End
------------ ---------- ------------------- -------------------
2 FAILED 2017-04-07T13:39:43 2017-04-07T13:39:45
3 CANCELLED 2017-04-07T13:39:45 2017-04-07T13:39:45
4 FAILED 2017-04-07T13:44:53 2017-04-07T13:44:54
5 CANCELLED 2017-04-07T13:44:54 2017-04-07T13:44:54
6 FAILED 2017-04-07T13:51:01 2017-04-07T13:51:02
7 CANCELLED 2017-04-07T13:51:02 2017-04-07T13:51:02
8 FAILED 2017-04-07T14:05:30 2017-04-07T14:05:32
9 CANCELLED 2017-04-07T14:05:32 2017-04-07T14:05:32
.
.
.
27097 COMPLETED 2017-05-24T09:46:26 2017-05-24T09:46:30
27098 COMPLETED 2017-05-24T09:46:26 2017-05-24T09:46:30
27099 COMPLETED 2017-05-24T09:46:26 2017-05-24T09:46:29
27100 COMPLETED 2017-05-24T09:46:26 2017-05-24T09:46:28
27101 COMPLETED 2017-05-24T09:46:26 2017-05-24T09:46:29
27095 COMPLETED 2017-05-24T09:46:29 2017-05-24T09:46:32
27102 COMPLETED 2017-05-24T09:46:32 2017-05-24T09:46:39
27103 COMPLETED 2017-05-24T09:46:40 2017-05-24T09:46:44
27104 COMPLETED 2017-05-24T09:46:40 2017-05-24T09:46:42
27105 COMPLETED 2017-06-12T13:52:48 2017-06-12T13:52:49
我怎样才能知道sacct
只显示 2017-06-11 之后的条目?