#!/bin/bash
for cpunum in $(
cat /sys/devices/system/cpu/cpu*/topology/thread_siblings_list |
cut -s -d, -f2- | tr ',' '\n' | sort -un); do
echo 0 > /sys/devices/system/cpu/cpu$cpunum/online
done
https://forums.aws.amazon.com/message.jspa?messageID=189757
Friday, September 9, 2011
Subscribe to:
Posts (Atom)