aiba

ArcGIS Server Statistics 10.1

Discussion created by aiba on Jun 18, 2012
Latest reply on May 23, 2014 by ciava.at
Hi,

In earlier ArcGIS versions I used server statistics. .NET C# Code looked like this:

IGISServerConnection connection = new GISServerConnectionClass();
connection.Connect("localhost");
IServerStatistics stats = (IServerStatistics)connection.ServerObjectAdmin;
IStatisticsResults statsResults = stats.GetAllStatisticsForTimeInterval(....);

Using this code I got server statistics and analyzed it (usage time, wait time, creation time).
In AGS 10.1 this is not working. Is it possible to get this information in AGS 10.1?
Of course, I can analyze and get statistics from logs using REST, but maybe there are another methods how to get statistics?

Outcomes