Skip to content
Snippets Groups Projects
Commit df61454f authored by Brad King's avatar Brad King Committed by Code Review
Browse files

Merge "SystemInformation: query total memory on AIX"

parents 1643507a 5bdcfd10
No related branches found
No related tags found
No related merge requests found
......@@ -3471,6 +3471,16 @@ int SystemInformationImplementation::QueryMemory()
}
}
return 0;
#elif defined(_AIX)
long c = sysconf(_SC_AIX_REALMEM);
if (c <= 0)
{
return 0;
}
this->TotalPhysicalMemory = c / 1024;
return 1;
#else
return 0;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment