Retrieve processing statistics for commands.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function cmdstats( _ ByVal cmd_names As String() _ ) As NetricsCmdStats() |
C# |
---|
public NetricsCmdStats[] cmdstats( string[] cmd_names ) |
C++ |
---|
public: array<NetricsCmdStats>^ cmdstats( array<String>^ cmd_names ) sealed |
J# |
---|
public NetricsCmdStats[] cmdstats( string[] cmd_names ) |
JScript |
---|
public
function cmdstats( cmd_names : String[] ) : NetricsCmdStats[] |
Parameters
- cmd_names
- The names of the commands to be included in the report. The class NetricsCmdStats has defines of all command names.
Return Value
An array of NetricsCmdStats objects, one per requested command.
Remarks
This reports statistics for the named commands. A command name of NetricsCmdStats.CMD_ALL can be used to retrieve statistics for all commands. This command will generate a report that includes all commands completed from the time the server was started until the time the request was received.