Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
JOHN SMITH — — source: IIUG Forums & Mailing Lists
Good day.
Is it possible to get information from SMI similar as "onstat -g sql <sid>"
shows? Especially we need current sql and last parsed sql... Thank you in
advance.
P.S. IDS 11.50FC9 for AIX.
You can find some info in syssqlstat table.
HTH
Hrvoje
On 16.10.2012. 12:13, JOHN SMITH wrote:
> Good day.
>
> Is it possible to get information from SMI similar as "onstat -g sql <sid>"
> shows? Especially we need current sql and last parsed sql... Thank you in
> advance.
>
> P.S. IDS 11.50FC9 for AIX.
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
↪ replying to Hrvoje Zokovic
JOHN SMITH — — source: IIUG Forums & Mailing Lists
> You can find some info in syssqlstat table.
Unfortunately in my case the query "select * from syssqlstat" returns the same
value in sqs_statement column for all sessions. To be more precise, exactly
mine - "select * from syssqlstat"... :-(
Which Informix version do you have? Which OS? Are you running this query
as informix user?
On 25.10.2012. 10:08, JOHN SMITH wrote:
>> You can find some info in syssqlstat table.
> Unfortunately in my case the query "select * from syssqlstat" returns the
same
> value in sqs_statement column for all sessions. To be more precise, exactly
> mine - "select * from syssqlstat"... :-(
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
↪ replying to Hrvoje Zokovic
JOHN SMITH — — source: IIUG Forums & Mailing Lists
Yes, I am running the query as user informix. Other information You can find
in my first post.
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.