Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sql-server/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
SQL Server CPU使用率_Sql_Sql Server_Sp Who2 - Fatal编程技术网

SQL Server CPU使用率

SQL Server CPU使用率,sql,sql-server,sp-who2,Sql,Sql Server,Sp Who2,如何查找CPU空闲使用率、用户、系统、IO,以便在SQL Server中使用SQL查询进行分析 exec sp_who2 CPU使用率-CPUTime 空闲-状态(睡眠) 用户-登录/Hostname/SPID(取决于您所说的用户) 系统-程序名 IO-DiskIO这个问题没有太多。你都试过什么?为什么SSMS中的活动监视器不够?使用exec sp_who2 am not geting idle,user,system,IO。如果状态为sleep,则为idle,主机名或SPID或Login将为

如何查找CPU空闲使用率、用户、系统、IO,以便在SQL Server中使用SQL查询进行分析

exec sp_who2
CPU使用率-CPUTime

空闲-状态(睡眠)

用户-登录/Hostname/SPID(取决于您所说的用户)

系统-程序名


IO-DiskIO

这个问题没有太多。你都试过什么?为什么SSMS中的活动监视器不够?使用exec sp_who2 am not geting idle,user,system,IO。如果状态为sleep,则为idle,主机名或SPID或Login将为您提供user,program name将为您提供system,DiskIO将为您提供IO,CPUTime将为您提供CPU使用率。你还想要什么?