Below is the example of using the GetSystemInfo operation to get performance parameters. The request contains whether information about performance and used resources should be obtained. The response contains the obtained information.
{
"GetSystemInfo" :
{
"tArg" :
{
"processInfo" : "true"
}
}
}
{
"GetSystemInfoResult" :
{
"version" : "Release 10.4.10052.0 Master x64",
"release" : "10.4",
"platformInfo" : "x64",
"osType" : "Windows",
"osInfo" : "Windows 10 x64",
"processInfo" :
{
"privateBytes" : "69029888",
"workingSetSize" : "78454784",
"residentSetSize" : "0",
"proportionalSetSize" : "0",
"sharedBytes" : "0",
"swapSize" : "0",
"gdiObjects" : "16",
"userObjects" : "5",
"handles" : "434",
"maxThreadsCount" : "8",
"activeThreadsCount" : "8",
"fileDescriptorsCount" : "0",
"mbCurConnectionCount" : "1"
}
}
}
public static GetSystemInfoResult GetBIServerInfo()
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetSystemInfo()
{
tArg = new GetSystemInfoArg()
{
processInfo = true
}
};
// Get information about BI server performance
var result = somClient.GetSystemInfo(tGet);
return result;
}
See also: