Document cpu.totalcompute attribute

This commit is contained in:
Michael Schurter 2017-06-27 11:58:01 -07:00
parent ecf090e980
commit 0f65a56627
1 changed files with 10 additions and 4 deletions

View File

@ -114,14 +114,20 @@ Below is a table documenting common node properties:
<td><tt>${attr.cpu.arch}</tt></td> <td><tt>${attr.cpu.arch}</tt></td>
<td>CPU architecture of the client (e.g. <tt>amd64</tt>, <tt>386</tt>)</td> <td>CPU architecture of the client (e.g. <tt>amd64</tt>, <tt>386</tt>)</td>
</tr> </tr>
<tr>
<td><tt>${attr.consul.datacenter}</tt></td>
<td>The Consul datacenter of the client (if Consul is found)</td>
</tr>
<tr> <tr>
<td><tt>${attr.cpu.numcores}</tt></td> <td><tt>${attr.cpu.numcores}</tt></td>
<td>Number of CPU cores on the client</td> <td>Number of CPU cores on the client</td>
</tr> </tr>
<tr>
<td><tt>${attr.cpu.totalcompute}</tt></td>
<td>
<tt>cpu.frequency &times; cpu.numcores</tt> but may be overridden by <tt>client.cpu_total_compute</tt>
</td>
</tr>
<tr>
<td><tt>${attr.consul.datacenter}</tt></td>
<td>The Consul datacenter of the client (if Consul is found)</td>
</tr>
<tr> <tr>
<td><tt>${attr.driver.&lt;property&gt;}</tt></td> <td><tt>${attr.driver.&lt;property&gt;}</tt></td>
<td>See the [task drivers](/docs/drivers/index.html) for property documentation</td> <td>See the [task drivers](/docs/drivers/index.html) for property documentation</td>