Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
nishithrn
Yak Posting Veteran
58 Posts |
Posted - 2004-02-05 : 08:41:45
|
| Hi,Anyone has a script for converting:"select @cpu_busy" to a percentage ???. I mean to make it match the current cpu usage.Thanks and RegardsNishith |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2004-02-05 : 12:57:12
|
| @@CPU_BUSY does not equal % CPU utilization. @@CPU_BUSY is the amount of time in milliseconds that the CPU has been busy since SQL Server was started. % CPU utilization means how busy the processors are at that moment in time, not cumulatively.Tara |
 |
|
|
nishithrn
Yak Posting Veteran
58 Posts |
Posted - 2004-02-05 : 23:40:26
|
| Hi Tara,Tx a lot for your reply. Actually I am interested in a scripts which can give me the %CPU utilization during a particular given point of time. Can you pls. help me in that regard..??RegardsNishith |
 |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2004-02-06 : 00:20:23
|
| You'll have to run the performance monitor and have it export the results to a file, which you can then import to SQL Server. SQL Server by itself will not know how busy the CPU's are. |
 |
|
|
|
|
|