BUG: fix cpu info string
This commit is contained in:
parent
24bff45d1b
commit
7c2445212e
|
@ -2897,7 +2897,7 @@ kwsys_stl::string SystemInformationImplementation::ParseValueFromKStat(const cha
|
|||
bool SystemInformationImplementation::QuerySolarisInfo()
|
||||
{
|
||||
// Parse values
|
||||
this->NumberOfPhysicalCPU = atoi(this->ParseValueFromKStat("-n systethis->misc -s ncpus").c_str());
|
||||
this->NumberOfPhysicalCPU = atoi(this->ParseValueFromKStat("-n syste_misc -s ncpus").c_str());
|
||||
this->NumberOfLogicalCPU = this->NumberOfPhysicalCPU;
|
||||
|
||||
if(this->NumberOfPhysicalCPU!=0)
|
||||
|
|
Loading…
Reference in New Issue