-
Detect hot-added cpu’s:
for a in /sys/devices/system/cpu/cpu*/online; do echo "1" > "$a"; done
Force disk rescan:
echo "- - -" > /sys/class/scsi_host/host0/scan
Detect hot-added cpu’s:
for a in /sys/devices/system/cpu/cpu*/online; do echo "1" > "$a"; done
Force disk rescan:
echo "- - -" > /sys/class/scsi_host/host0/scan