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.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 How to calculate CPU and Memory usage in MSSqlServ

Author  Topic 

saikat
Starting Member

2 Posts

Posted - 2009-02-17 : 04:13:03
I would like to know the procedure to calculate CPU and Memory usage
of my SQL server. And I would like to get them per database. Basically
I have a application which shows me how much % of my CPU is being used
by each SQL server database, which I want to test with some tool or
query. If any one knows how to fetch these values please let me know.
It is urgent.

PeterNeo
Constraint Violating Yak Guru

357 Posts

Posted - 2009-02-17 : 05:34:55
something like this?
 EXEC sp_monitor 


"There is only one difference between a dream and an aim.
A dream requires soundless sleep to see,
whereas an aim requires sleepless efforts to achieve..!!"
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2009-02-17 : 08:49:20
why cross-post?
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=119959
Go to Top of Page
   

- Advertisement -