SQL Server CPU Usage

844 Views Asked by At

How to find CPU usage idle, user, system, IO for Analyses using SQL Query in SQL Server

1

There are 1 best solutions below

0
Christian Barron On

The command you are looking for in SQL Server is this:

exec sp_who2

CPU Usage - CPUTime

Idle - Status (Sleeping)

User - Login / Hostname / SPID (Depending on what you mean by user)

System - ProgramName

IO - DiskIO