icon

Situation

  • Home
  • Quick start
  • Setup
  • Security
  • CLI
  • Roadmap
API
  • Overview
  • PostgreSQL
  • SQLite
Deploy
  • Ansible
  • Limiting footprint
  • Scheduled task
  • Sentry
Developer
  • Overview
  • Architecture
  • Contributing
  • Module
  • Store
Modules
  • Reference
  • ARP
  • Chassis
  • Docker
  • DPKG
  • Fingerprint
  • HostBasic
  • HostCPU
  • HostDisk
  • HostGPU
  • HostNetwork
  • JA4
  • LocalUsers
  • MAC Vendor
  • MSI
  • Netstat
  • Ping
  • ReverseLookup
  • RPM
  • SaaS
  • StandardProtocol
  • TCP Scan
  • TLS
  • Users
  • Zypper

HostCPU

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

  • context

  • fmt

  • strconv

  • github.com/shirou/gopsutil/v4/cpu
HostBasic HostDisk
Menu
Home Quick start Setup Security CLI Roadmap
API
Overview PostgreSQL SQLite
Deploy
Ansible Limiting footprint Scheduled task Sentry
Developer
Overview Architecture Contributing Module Store
Modules
Reference ARP Chassis Docker DPKG Fingerprint HostBasic HostCPU HostDisk HostGPU HostNetwork JA4 LocalUsers MAC Vendor MSI Netstat Ping ReverseLookup RPM SaaS StandardProtocol TCP Scan TLS Users Zypper

On This Page

Details Dependencies
shadcn theme provided by @asiffer