|
func GetTotalMemoryWithoutLogging() (int64, string, error) { |
|
totalMem, err := func() (int64, error) { |
|
mem := gosigar.Mem{} |
|
if err := mem.Get(); err != nil { |
|
return 0, err |
|
} |
We don't implement this function in our patched gosigar which doesn't affect runtime (as we're using Cockroach, anyway), but we have to skip a couple of tests (skips added in f46ecb2).
Presumably the metrics recorder is what continually logs "not implemented on illumos" every 10s or so during runtime.
cockroach/pkg/server/status/recorder.go
Lines 627 to 632 in afda0c1
We don't implement this function in our patched gosigar which doesn't affect runtime (as we're using Cockroach, anyway), but we have to skip a couple of tests (skips added in f46ecb2).
Presumably the metrics recorder is what continually logs "not implemented on illumos" every 10s or so during runtime.