def _GetTotalMemoryKb(self):
    meminfo_command = 'cat /proc/meminfo | grep MemTotal | awk \'{print $2}\''
    stdout, _ = self.RemoteCommand(meminfo_command)
    return int(stdout)
Check that strong Wolfe conditions apply
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/linux_virtual_machine.py/BaseLinuxMixin._GetTotalMemoryKb--crossover with--dataset/ETHPy150Open scipy/scipy/scipy/optimize/tests/test_linesearch.py/assert_wolfe