onstat argument: Monitor the database server (SQL administration API)

Use the onstat argument with the admin() or task() function to monitor the database server.


Read syntax diagramSkip visual syntax diagram
>>-EXECUTE FUNCTION--+-admin-+--(--"onstat"--,--"--option_name--"--)-- ;-><

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.


Use these commands to display the same information about the database server as running the onstat utility commands.


The following example runs the onstat -g ses command:

EXECUTE FUNCTION task("onstat","-g ses");

Copyright© 2018 HCL Technologies Limited