=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== r-cran-raster-3.4-5/src/memory.cpp-25- // default to searching for MemAvailable field (kernel versions >= 3.14) r-cran-raster-3.4-5/src/memory.cpp:26: FILE *fp = popen("awk '/MemAvailable/ {print $2}' /proc/meminfo", "r"); r-cran-raster-3.4-5/src/memory.cpp-27- if (fp == NULL) { ############################################## r-cran-raster-3.4-5/src/memory.cpp-37- // fallback to estimating memory from other fields if MemAvailable not found r-cran-raster-3.4-5/src/memory.cpp:38: FILE *fp2 = popen("awk -v low=$(grep low /proc/zoneinfo | awk '{k+=$2}END{print k}') '{a[$1]=$2}END{print a[\"MemFree:\"]+a[\"Active(file):\"]+a[\"Inactive(file):\"]+a[\"SReclaimable:\"]-(12*low);}' /proc/meminfo", "r"); r-cran-raster-3.4-5/src/memory.cpp-39- if (fp2 == NULL) { ############################################## r-cran-raster-3.4-5/R/canProcessInMemory.R-21- # mac is also "unix" and this does not work on mac r-cran-raster-3.4-5/R/canProcessInMemory.R:22:# memavail <- as.numeric(system("awk '/MemFree/ {print $2}' /proc/meminfo", intern=TRUE)) r-cran-raster-3.4-5/R/canProcessInMemory.R-23-# } else {