4 references to _cpuacctUsage
Microsoft.Extensions.Diagnostics.ResourceMonitoring (4)
Linux\LinuxUtilizationParserCgroupV2.cs (4)
104if (!_fileSystem.Exists(_cpuacctUsage)) 110_fileSystem.ReadAll(_cpuacctUsage, bufferWriter.Buffer); 115Throw.InvalidOperationException($"Could not parse '{_cpuacctUsage}'. We expected first line of the file to start with '{Usage_usec}' but it was '{new string(usage)}' instead."); 124Throw.InvalidOperationException($"Could not get cpu usage from '{_cpuacctUsage}'. Expected positive number, but got '{new string(usage)}'.");