Available Packages
CPU
Retrieve CPU times, information, core counts, and utilization percentages
Memory
Access system memory and swap statistics
Disk
Get disk usage, partitions, and I/O statistics
Process
Monitor and manage system processes
Network
Retrieve network interface and connection information
Host
Get host system information, uptime, and boot time
Key Features
- Cross-Platform: Works on Linux, Windows, macOS, FreeBSD, OpenBSD, and more
- Context Support: All functions have context-aware variants for cancellation and timeouts
- JSON Serialization: All structs support JSON marshaling for easy integration
- Pure Go: No CGO dependencies for most platforms