add new chinese translations
This commit is contained in:
28
pages.zh/linux/sacct.md
Normal file
28
pages.zh/linux/sacct.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# sacct
|
||||
|
||||
> 显示来自 Slurm 服务的会计数据。
|
||||
> 更多信息:<https://slurm.schedmd.com/sacct.html>。
|
||||
|
||||
- 显示最近工作的作业 ID、作业名称、分区、账户、分配的 CPU 数、作业状态和作业退出代码:
|
||||
|
||||
`sacct`
|
||||
|
||||
- 显示最近工作的作业 ID、作业状态和作业退出代码:
|
||||
|
||||
`sacct --brief`
|
||||
|
||||
- 显示某个作业的分配情况:
|
||||
|
||||
`sacct --jobs {{job_id}} --allocations`
|
||||
|
||||
- 显示某个作业的经过时间、作业名称、请求的 CPU 数和请求的内存:
|
||||
|
||||
`sacct --jobs {{job_id}} --format=Elapsed,JobName,ReqCPUS,ReqMem`
|
||||
|
||||
- 显示从一周前到今天发生的最近作业:
|
||||
|
||||
`sacct --starttime=$(date -d "1 week ago" +'%F')`
|
||||
|
||||
- 为某个属性输出更大的字符数:
|
||||
|
||||
`sacct --format=JobID,JobName%100`
|
Reference in New Issue
Block a user