The onstat utility
The onstat utility reads shared-memory structures and provides statistics about the database server at the time that the command runs.
You can combine multiple onstat option flags in a single command. The contents of shared memory might change as the onstat output displays. The onstat utility does not place any locks on shared memory, so running the utility does not affect performance.
You use SQL administration API commands that are equivalent to onstat commands.