Forums
(@cognaccola)
4 years, 4 months ago
Doesn’t work, works on my other site/server, but this one uses easyengine.io and maybe something’s missing or conflicting
echo $((ps aux|awk 'NR > 0 { s +=$3 }; END {print s}'| cut -d . -f 1 / cat /proc/cpuinfo | grep cores | grep -o '[0-9]' | wc -l))
ps aux|awk 'NR > 0 { s +=$3 }; END {print s}'| cut -d . -f 1
cat /proc/cpuinfo | grep cores | grep -o '[0-9]' | wc -l
returned a 11 first run second run a 7