featurebase/gopsutil
Seebs 5ee87bbf7c add server stats to /info endpoint
report the approximate hardware specs (CPU speed, cores, memory)
of the server in the /info endpoint. This may be useful when
benchmarking.

We do some workarounds because gopsutil's core count output is
confusingly different between Linux and Darwin, and the MHz output
is usually wrong on Linux. Intel's app notes say to just parse
the model string. Whyyyyyyy.
2019-03-26 09:14:51 -05:00
..
systeminfo.go add server stats to /info endpoint 2019-03-26 09:14:51 -05:00
systeminfo_test.go Adds diagnostics CPUArch field 2018-10-01 15:31:13 +03:00