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.
Milan Rafaj asked for an SMI equivalent of onstat -g spf. Art Kagel said most details come from the sysrstcb pseudo table (see syssesprof) and the rest from syssdblock. Andreas Legner added syssqltrace, which Art noted only fills if SQLTRACE is enabled. Milan, interested in running queries, accepted that.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
Milan Rafaj — source: IBM Community (ConnectedCommunity.org) Informix forum
Hello, does anybody know if there is a sql table/view from sysmaster to get the info which command onstat -g spf provides?
Thank you
------------------------------
Milan
------------------------------
↪ replying to Milan Rafaj
Art Kagel — source: IBM Community (ConnectedCommunity.org) Informix forum
Most of the details (from the scans column right) come from the sysrstcb pseudo table in sysmaster (see the syssesprof view for which columns correspond to the report as the column labels are more similar). The rest comes from the
syssdblock pseudo table.
------------------------------
Art S. Kagel, President and Principal Consultant
ASK Database Management Corp.
www.askdbmgt.com
------------------------------
↪ replying to Art Kagel
Andreas Legner — source: IBM Community (ConnectedCommunity.org) Informix forum
... or syssqltrace.
------------------------------
Andreas Legner
------------------------------
↪ replying to Andreas Legner
Art Kagel — source: IBM Community (ConnectedCommunity.org) Informix forum
Yes but the syssqltrace* tables are only populated if you have SQLTRACE enabled!
------------------------------
Art S. Kagel, President and Principal Consultant
ASK Database Management Corp.
www.askdbmgt.com
------------------------------
↪ replying to Art Kagel
Andreas Legner — source: IBM Community (ConnectedCommunity.org) Informix forum
True, but also applying to onstat -g spf, afaik.
------------------------------
Andreas Legner
------------------------------
↪ replying to Andreas Legner
Milan Rafaj — source: IBM Community (ConnectedCommunity.org) Informix forum
Thank you to both, Art and Andreas and yes I am interesting the most in currently running queries and assume sql tracing is switched on.
------------------------------
Milan
------------------------------
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.