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