5 references to _memInfo
Microsoft.Extensions.Diagnostics.ResourceMonitoring (5)
Linux\LinuxUtilizationParserCgroupV1.cs (5)
260
_fileSystem.ReadFirstLine(
_memInfo
, bufferWriter.Buffer);
265
Throw.InvalidOperationException($"Could not parse '{
_memInfo
}'. We expected first line of the file to start with '{MemTotal}' but it was '{new string(firstLine)}' instead.");
274
Throw.InvalidOperationException($"Could not parse '{
_memInfo
}'. We expected to get total memory usage on first line but we've got: '{new string(firstLine)}'.");
279
Throw.InvalidOperationException($"Could not parse '{
_memInfo
}'. We expected to get memory usage followed by the unit (kB, MB, GB) but found no unit: '{new string(firstLine)}'.");
292
$"We tried to convert total memory usage value from '{
_memInfo
}' to bytes, but we've got a unit that we don't recognize: '{new string(unit)}'.")