[Hotplug_sig] Re: Hotplug CPU issue for SAR case on ia32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Bryce Harrington wrote:
> However, if all but one of the system's cpu's are turned off at the time
> sar is started, `sar -P ALL 1 0` fails to start, giving the message "Not
> an SMP machine..."
>
> I believe in this case, sar needs to recognize that the system *is* SMP,
> but just that there are some offlined CPUs.  It should start up and run
> showing the offlined cpu's as 'nan'd.
>   
You're right: I will update the sar program so that it may recognize 
that the system is SMP. Anyway, the offlined CPU's will not be displayed 
as 'nan'd: when sar is started it counts the number of available 
processors by parsing /proc/stat. If an offlined CPU doesn't show up in 
/proc/stat, it won't be displayed at all.

Regards,

-- 
Sébastien Godard (sysstat <at> wanadoo.fr)
http://perso.wanadoo.fr/sebastien.godard/




[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux