[tiny] Output MHz to CPU resouces in alloc-status
This commit is contained in:
parent
3cd8d9d84e
commit
f5c6d4bd44
|
@ -296,7 +296,7 @@ func (c *AllocStatusCommand) outputTaskResources(alloc *api.Allocation, task str
|
||||||
memUsage = fmt.Sprintf("%v/%v", humanize.IBytes(ms.RSS), memUsage)
|
memUsage = fmt.Sprintf("%v/%v", humanize.IBytes(ms.RSS), memUsage)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
resourcesOutput = append(resourcesOutput, fmt.Sprintf("%v|%v|%v|%v|%v",
|
resourcesOutput = append(resourcesOutput, fmt.Sprintf("%v MHz|%v|%v|%v|%v",
|
||||||
cpuUsage,
|
cpuUsage,
|
||||||
memUsage,
|
memUsage,
|
||||||
humanize.IBytes(uint64(resource.DiskMB*bytesPerMegabyte)),
|
humanize.IBytes(uint64(resource.DiskMB*bytesPerMegabyte)),
|
||||||
|
|
Loading…
Reference in New Issue