Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8950

Re: How do I perform a meaningful join on monSysStatement and monSysSQLText?

$
0
0

If you are looking for this " (SQL Text, CPU Time, Memory Usage)",

 

then this will get some of the information:

 

>use sybsystemprocs

>go

>sp_monitor "statement"

>go

 

Or possibly this, if you just want a 1-liner showing the proc name plus other info:

 

>use sybsystemprocs

>go

>sp_monitor "procedure"

>go

 

You can see the source code for those procs like this:

 

>use sybsystemprocs

>go

>sp_showtext sp_montor_statement

>go

>sp_showtext sp_monitor_procedure

>go


Viewing all articles
Browse latest Browse all 8950

Trending Articles