5 references to _memInfo
Microsoft.Extensions.Diagnostics.ResourceMonitoring (5)
Linux\LinuxUtilizationParserCgroupV2.cs (5)
342
_fileSystem.ReadFirstLine(
_memInfo
, bufferWriter.Buffer);
347
Throw.InvalidOperationException($"Could not parse '{
_memInfo
}'. We expected first line of the file to start with '{MemTotal}' but it was '{new string(firstLine)}' instead.");
356
Throw.InvalidOperationException($"Could not parse '{
_memInfo
}'. We expected to get total memory usage on first line but we've got: '{new string(firstLine)}'.");
361
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)}'.");
374
$"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)}'.")