Below is the example of using the GetStatus operation to get performance parameters. The request contains a pattern for performance parameters. The response contains the obtained values.
{ "GetStatus" : { "tArg" : { "metabase" : { "id" : "S1!M" }, "processInfo" : { "all" : "true" } } } }
{ "GetStatusResult" : { "version" : "Release 9.2.24679 [Unicode]", "release" : "9.2", "metabaseSessionTimeout" : "02:46:40.000", "metabaseStoreBinaryCount" : "3", "metabaseLocale" : "1049", "metabaseConnectionPoolMaxCount" : "10", "processInfo" : { "gdiObjects" : "47", "userObjects" : "5", "handles" : "424", "privateBytes" : "55971840", "workingSetSize" : "75251712" }, "platformInfo" : "x64" } }
public static GetStatusResult GetBIServerProcessInfo(string mb)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tStatus = new GetStatus()
{
tArg = new GetStatusArg()
{
metabase = new MbId() { id = mb },
processInfo = new ProcessInformationPattern() { all = true }
}
};
//Get web service information
var result = somClient.GetStatus(tStatus);
return result;
}
See also: