{{"属性名"|T}} | {{"属性值"|T}} | {{"属性名"|T}} | {{"属性值"|T}} |
---|---|---|---|
{{"主机名称"|T}} | {{.Host.Hostname}} | {{"运行时长"|T}} | {{DurationFormat .Host.Uptime}} |
{{"启动时间"|T}} | {{(Date .Host.BootTime).Format "2006-01-02 15:04:05"}} | {{"进程数量"|T}} | {{.Host.Procs}} |
{{"系统类型"|T}} | {{.Host.OS}} | {{"平台名称"|T}} | {{.Host.Platform}} |
{{"内核版本"|T}} | {{.Host.KernelVersion}} | {{"内核架构"|T}} | {{.Host.KernelArch}} |
{{"平台家族"|T}} | {{.Host.PlatformFamily}} | {{"平台版本"|T}} | {{.Host.PlatformVersion}} |
{{"HostID"|T}} | {{.Host.HostID}} | ||
{{"虚拟系统名称"|T}} | {{.Host.VirtualizationSystem}} | {{"虚拟系统角色"|T}} | {{.Host.VirtualizationRole}} |
{{"CPU型号"|T}} |
{{- range $k, $v := .CPU -}}
{{$v.ModelName}}
{{- if gt $v.Cores 1 -}}
× {{$v.Cores}}
{{- end -}}
{{- if $v.PhysicalID -}}
({{$v.PhysicalID}})
{{- end -}}
{{- end -}} |
{{"CPU负载"|T}} |