print out a machine PB

This commit is contained in:
Jeff Carr 2025-09-22 01:51:12 -05:00
parent d656828a0f
commit 9e49784b9e
1 changed files with 13 additions and 0 deletions

13
print.go Normal file
View File

@ -0,0 +1,13 @@
package zoopb
import "go.wit.com/log"
// init the installed package list
func (m *Machine) Dump() {
log.Infof("mem=%d cpus=%d\n", m.Memory, m.Cpus)
// totalMemGB := float64(sysInfo.Totalram) * float64(sysInfo.Unit) / (1024 * 1024 * 1024)
// Print results
// fmt.Printf("Total Memory: %.2f GB\n", totalMemGB)
// fmt.Printf("Number of CPUs: %d\n", numCPUs)
}