grep offline /sys/devices/system/memory/*/state | \
cut -d: -f1 | \
while read -r mem; do
echo online > "$mem";
done
Last active
July 29, 2016 11:54
-
-
Save jkullick/7f7f237683607910e0bf12a7c47eb53b to your computer and use it in GitHub Desktop.
Activate Hot-Added Memory in Linux
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment