On Fri, Apr 15, 2005 at 12:45:00PM -0700, Dave Hansen wrote: > On Fri, 2005-04-15 at 12:39 -0700, Mark Wong wrote: > > You can see that the last CPU cannot be offlined in > > "Offlining CPU 7 = 1". The = value is the value of online after > > performing the echo. This is on a OpenServer 720. Is this behavior > > going to be archiecture specific? > > Did you try to offline the last available CPU? Yeah, so the script echoes 0 into offline in the order of cpu0 to cpu7. The script outputs the value of offline after that echo. When we get to cpu7, it shows that offline = 1, which appears to be correct behavior. Then after each line I also output the return code of echo. It's just that Nathan suggested echo should return a 1 in that instance when my scripts are showing echo appears to be returning 0 no matter the outcome. Unless I got $? confused with something else... Mark