Flash Media Server |
|||
| Server Management ActionScript Language Reference > Server Management ActionScript Dictionary > getScriptStats() | |||
getScriptStats(app_instance)
app_instance A string that contains the name of the instance of the application, in the form application_name/instance_name.
If the call succeeds, the server sends a reply information object with a level property of status, a code property of NetConnection.Call.Success, and a data property that is an object. The data object has the following properties:
|
Property |
Description |
|---|---|
|
|
Number; maximum amount of time, in seconds, the script has taken to execute an event. |
|
|
Number; total number of events currently in the script engine queue. |
|
|
Number; total number of events processed by the script engine. |
|
|
Number; number of seconds taken to process the number of events in |
|
|
Number; maximum number of events in the queue. |
If the call fails, the server sends a reply information object with a level property of error and a code property of NetConnection.Call.Failed or a more specific value, if available. Some objects might also have a description property that contains a string describing the cause of the failure.
Gets the performance data for a script running on the specified instance of an application.