Lines Matching refs:online
31 echo "CPU online/offline summary:"
32 online_cpus=`cat $SYSFS/devices/system/cpu/online`
44 echo -e "\t Cpus in online state: $online_cpus"
63 if [ -f $cpu/online ] && grep -q $state $cpu/online; then
81 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online
86 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online
91 echo 1 > $SYSFS/devices/system/cpu/cpu$1/online
96 echo 0 > $SYSFS/devices/system/cpu/cpu$1/online
120 echo $FUNCNAME $cpu: unexpected online >&2
189 # Safe test (default) - offline and online one cpu
194 echo -e "\t online to offline to online: cpu $online_max"
199 echo -e "\t offline to online to offline: cpu $present_max"
207 echo -e "\t online all offline cpus"
208 echo -e "\t offline all online cpus"
209 echo -e "\t online all offline cpus"
269 # Test CPU hot-add error handling (offline => online)
285 # Test CPU hot-remove error handling (online => offline)