Documentation
¶
Overview ¶
Package sysinfo provides cross-platform access to host system information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TotalMemoryBytes ¶
func TotalMemoryBytes() uint64
TotalMemoryBytes returns the total physical memory of the host in bytes. On Linux, it uses the Sysinfo syscall. Falls back to 8GB if unavailable.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.