Situation

  • Home
  • Installation
  • Quick start
  • Configuration
  • Backends
  • Roadmap
Guides
  • Ansible
  • jq one-liners
  • FastAPI
Modules
  • Reference
  • App User
  • ARP
  • Chassis
  • Docker
  • DPKG
  • Host Basic
  • Host CPU
  • Host Disk
  • Host GPU
  • Host Network
  • JA4
  • MSI
  • Netstat
  • Ping
  • Reverse Lookup
  • RPM
  • SNMP
  • SSH
  • TCP Scan
  • TLS
  • Zypper
Developer
  • Overview
  • Architecture
  • Contributing
  • Module
  • Store

Host CPU

Previous Next

Retrieves host CPU info: model, vendor and the number of cores.

windows linux

HostCPUModule retrieves host CPU info: model, vendor and the number of cores.

Details

It heavily relies on the gopsutil library.

On Linux, it reads /proc/cpuinfo. On Windows it performs the win32_Processor WMI request

On windows 11, the local user account must have administrator permissions (it does not mean it must be run as root).

Dependencies

  • fmt

  • strconv

  • github.com/shirou/gopsutil/v4/cpu
Host Basic Host Disk
Menu
Home Installation Quick start Configuration Backends Roadmap
Guides
Ansible jq one-liners FastAPI
Modules
Reference App User ARP Chassis Docker DPKG Host Basic Host CPU Host Disk Host GPU Host Network JA4 MSI Netstat Ping Reverse Lookup RPM SNMP SSH TCP Scan TLS Zypper
Developer
Overview Architecture Contributing Module Store

On This Page

Details Dependencies
shadcn theme provided by @asiffer