You have already found sys.dm_exec_sessions. Have you looked at the
column cpu_time it returns?
Roy Harvey
Beacon Falls, CT
Hi Roy
yes i had a look at the column cpu_time. So far i understand is the column
cpu_time the sum of the total cpu_time of the request since this Session is
alive. So if the column last_request_end_time is a lot behind the time when
the CPU's have high workload, the column total_cpu_time is not helpful.
Regards Paolo
> You have already found sys.dm_exec_sessions. Have you looked at the
> column cpu_time it returns?
[quoted text clipped - 19 lines]
>>regards
>>Paolo
Linchi Shea - 08 Mar 2008 02:24 GMT
It's not an ideal approach, but you could always take snapshots of the DMV
and find the cpu time differences between snapshots, and that should give you
some rough idea.
Linchi
> Hi Roy
>
[quoted text clipped - 28 lines]
> >>regards
> >>Paolo