Product:
<%- summary.product %>
Vendor:
<%- summary.vendor %>
Number of CPUs:
<%- _.size(summary.cpu) %>
CPU:
<%- summary.cpu[0].product %>
Cores: <%- summary.cpu[0].cores %>,
Threads: <%- summary.cpu[0].threads %>
<% if (_.has(summary.cpu[0], "cache")) { %>
<% _.each(summary.cpu[0].cache, function (cache, idx) { %>
<%- cache.description %>:
<%- cache.size %>
<%- cache.units %><% if (idx < _.size(summary.cpu[0].cache) - 1) { %>, <% } %>
<% }); %>
<% } %>
Memory:
<%- parseInt(summary.memory.size / (1024 * 1024 * 1024)) %>GB
(<%- summary.memory.banks %> banks)
<%- summary.memory.description %>
Disks:
<%- _.size(summary.disk) %> disk(s)
<% _.each(summary.disk, function(disk, idx) { %>
<%- idx %>:
<%- disk.vendor %> <%- disk.product %>,
<%- parseInt(disk.size / (1024 * 1024 * 1024)) %> GB
<% }); %>
Network:
<%- _.size(summary.network) %> interface(s)
<% var keys = _.sortBy(_.keys(summary.network));
_.each(keys, function(key, idx) {
var iface = summary.network[key]; %>
<%- key %>:
<%- iface.vendor %> <%- iface.product %>,
<%- parseInt(iface.speed / (1000 * 1000 * 1000)) %> Gb,
role=<%- iface.role %>
<% }); %>
<% if (_.has(summary, "nvme")) { %>
NVME:
<%- _.size(summary.nvme) %> device(s)
<% _.each(summary.nvme, function(nvme, idx) { %>
<%- idx %>:
<%- nvme.product %>
<% }); %>
<% } %>
<% if (_.has(summary, "gpu")) { %>
GPUs:
<%- _.size(summary.gpu) %> GPU(s)
<% _.each(summary.gpu, function(gpu, idx) { %>
<%- idx %>:
<%- gpu.product %>
<% }); %>
<% } %>