yarn-nm-gpu-info.hbs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {{!
  2. * Licensed to the Apache Software Foundation (ASF) under one
  3. * or more contributor license agreements. See the NOTICE file
  4. * distributed with this work for additional information
  5. * regarding copyright ownership. The ASF licenses this file
  6. * to you under the Apache License, Version 2.0 (the
  7. * "License"); you may not use this file except in compliance
  8. * with the License. You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. }}
  18. <div class="panel panel-default">
  19. <div class="panel-heading">Gpu Information - (Minor
  20. Number {{gpu.minorNumber}})
  21. </div>
  22. <table class="table">
  23. <tbody>
  24. <tr>
  25. <td>Product Name</td>
  26. <td>{{gpu.productName}}</td>
  27. </tr>
  28. <tr>
  29. <td>UUID</td>
  30. <td>{{gpu.uuid}}</td>
  31. </tr>
  32. <tr>
  33. <td>Current Temperature</td>
  34. <td>{{gpu.temperature.currentGpuTemp}}</td>
  35. </tr>
  36. <tr>
  37. <td>Max Temperature</td>
  38. <td>{{gpu.temperature.maxGpuTemp}}</td>
  39. </tr>
  40. </tbody>
  41. </table>
  42. <div class="col-md-5 container-fluid" id="mem-donut-chart{{gpu.minorNumber}}">
  43. {{gpu-donut-chart gpuInfo=gpu
  44. showLabels=true
  45. parentId="mem-donut-chart"
  46. middleLabel = "Gpu Memory"
  47. ratio=0.6
  48. type="memory"
  49. gpu-render-type = "gpu-memory"
  50. colorTargets="good"
  51. colorTargetReverse=true
  52. maxHeight=350}}
  53. </div>
  54. <div class="col-md-5 container-fluid" id="utilization-donut-chart{{gpu.minorNumber}}">
  55. {{gpu-donut-chart gpuInfo=gpu
  56. showLabels=true
  57. parentId="utilization-donut-chart"
  58. middleLabel = "Gpu Utilization"
  59. ratio=0.6
  60. gpu-render-type = "gpu-utilization"
  61. colorTargets="good"
  62. colorTargetReverse=true
  63. suffix="%"
  64. maxHeight=350}}
  65. </div>
  66. </div>