Below is the example of using the GetSystemInfo operation to get information about BI server processor. The request contains whether information about processor should be obtained. The response contains the obtained information.
{
"GetSystemInfo" :
{
"tArg" :
{
"cpuInfo" : "true"
}
}
}
{
"GetSystemInfoResult" :
{
"version" : "Release 10.4.10052.0 Master x64",
"release" : "10.4",
"platformInfo" : "x64",
"osType" : "Windows",
"osInfo" : "Windows 10 x64",
"cpuInfo" :
{
"cpuCoresUsage" :
{
"Item" :
[
"69",
"66",
"66",
"61",
"72",
"60",
"64",
"64",
"71"
]
}
}
}
}
public static GetSystemInfoResult GetCPUInfo()
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetSystemInfo()
{
tArg = new GetSystemInfoArg()
{
cpuInfo = true
}
};
// Get information about operating system and BI server processor loading
var result = somClient.GetSystemInfo(tGet);
return result;
}
See also: