Skip to content

Commit

Permalink
Merge pull request #1438 from nak3/show-cpu-mhz
Browse files Browse the repository at this point in the history
[tiny] Output MHz to CPU resouces in alloc-status
  • Loading branch information
dadgar committed Jul 21, 2016
2 parents c6968f1 + d8cf69f commit 3ba8cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/alloc_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down

0 comments on commit 3ba8cf9

Please sign in to comment.