Merge pull request #1438 from nak3/show-cpu-mhz
[tiny] Output MHz to CPU resouces in alloc-status
This commit is contained in:
commit
00721861b0
|
@ -296,7 +296,7 @@ func (c *AllocStatusCommand) outputTaskResources(alloc *api.Allocation, task str
|
|||
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,
|
||||
memUsage,
|
||||
humanize.IBytes(uint64(resource.DiskMB*bytesPerMegabyte)),
|
||||
|
|
Loading…
Reference in New Issue