Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> [ANN] OCISPY - free ORACLE OCI client side tracing and monitoring utility
Free non-gui utility for tracing of ORACLE client side OCI calls (like
Solaris truss or Linux strace).
Windows and Linux versions (Solaris Intel is planed).
Easy to install, easy to use.
Easy to watch a password your application sends to a server :-/
Example of an output:
OCIHandleFree type: OCI_HTYPE_ERROR
OCIHandleAlloc type: OCI_HTYPE_ERROR OCIHandleAlloc type: OCI_HTYPE_ERROR OCIHandleAlloc type: OCI_HTYPE_SERVER OCIHandleAlloc type: OCI_HTYPE_SVCCTX OCIHandleAlloc type: OCI_HTYPE_SESSION OCIHandleAlloc type: OCI_HTYPE_SESSION OCIAttrGet handle type: OCI_HTYPE_SERVER, attr name: OCI_ATTR_STATEMENT OCIServerAttach dblink: 'db817a'
OCIStmtGetBindInfo
OCIStmtExecute iters: 0, mode: OCI_DEFAULT
OCIAttrGet handle type: OCI_HTYPE_STMT, attr name: OCI_ATTR_SQLFNCODE attr
val: 4
OCIAttrGet handle type: OCI_HTYPE_STMT, attr name: OCI_ATTR_PARAM_COUNT attr
val: 1
OCIParamGet
OCIDescriptorAlloc type: OCI_DTYPE_PARAM
OCIAttrGet descriptor type: OCI_DTYPE_PARAM, attr name: OCI_ATTR_DATA_TYPE
(the SQL type of the column/argument)
OCIAttrGet descriptor type: OCI_DTYPE_PARAM, attr name:
OCI_ATTR_CHARSET_FORM (Character Set Form)
OCIAttrGet descriptor type: OCI_DTYPE_PARAM, attr name: OCI_ATTR_CHARSET_ID
(Character Set ID)
OCIAttrGet descriptor type: OCI_DTYPE_PARAM, attr name: OCI_ATTR_DATA_SIZE
(maximum size of the data)
OCIAttrGet descriptor type: OCI_DTYPE_PARAM, attr name: OCI_ATTR_NAME (the
name of the column/argument)
OCIAttrGet descriptor type: OCI_DTYPE_PARAM, attr name: OCI_ATTR_DISP_SIZE
(the display size)
OCIDefineByPos pos: 1 type: SQLT_STR mode: OCI_DEFAULT
OCIHandleAlloc type: OCI_HTYPE_DEFINE
OCIAttrSet handle type: OCI_HTYPE_DEFINE, attr name: OCI_ATTR_CHARSET_FORM
attr val: 1
OCIStmtFetch nrows: 15
OCIAttrGet handle type: OCI_HTYPE_STMT, attr name: OCI_ATTR_ROW_COUNT attr
val: 1
OCIHandleFree type: OCI_HTYPE_STMT
OCISessionEnd
-- Sergey SikorskyReceived on Mon Apr 08 2002 - 23:08:13 CDT