onstat -g prc command: Print sessions using UDR or SPL routines
Use the onstat -g prc command to display the number of sessions that are currently using the UDR or SPL routine.
Example output
Output description
- Number of lists
- Number of lists in the UDR cache
- PC_POOLSIZE
- Number of entries that can be cached at one time
- Number of entries
- Number of entries in the UDR cache
- Number of inuse entries
- Number of entries that are being used
- list
- list#
- UDR cache hash chain ID (bucket number)
- id
- Unique ID of the routine
- ref
- ref_cnt
- Number of sessions that are currently accessing the UDR or SPL routine from the cache
- drop
- dropped?
- Whether the routine is marked to be dropped
- hits
- The number of times the cache entry is accessed.
- last_access
-
The time at which the cache entry was last accessed.
- heap_ptr
- Heap address that is used to store this entry
- udr_name
- The name of the UDR or SPL routine in the cache
- Total number of udr entries
- Number of entries in the cache
- Number of entries in use
- Number of entries that are being used