onstat argument: Monitor the database server (SQL administration API)
Use the onstat argument with the admin() or task() function to monitor the database server.
Syntax
Element | Description | Key Considerations |
---|---|---|
option_name | The onstat command option. | The option must include a hyphen and conform to onstat option syntax. For onstat options, see The onstat utility. |
Usage
Use these commands to display the same information about the database server as running the onstat utility commands.
Example
The following example runs the onstat -g ses command:
EXECUTE FUNCTION task("onstat","-g ses");