| Author |
Topic  |
|
|
CompiledMonkey
Starting Member
3 Posts |
Posted - 04/25/2004 : 11:55:14
|
| I'm looking to pull information such as uptime, ip, status, db name, etc from my sql server database to display on a form. I'd like to get more detailed if I could, such as current load on database, threads, etc. Does anyone know if this is possible using C#? |
|
|
derrickleggett
Pointy Haired Yak DBA
USA
4184 Posts |
Posted - 04/25/2004 : 14:31:34
|
I'd like to get more detailed if I could, such as current load on database, threads, etc.
Can you explain this in more detail?
You can pull any information you want from the SQL Server using C#. My suggestion would be to set up some Profiler and Performance Monitor traces that give you what you are looking for and write it to tables in the database for historical purposes. You can then use stored procedures to sum the information up and present it to your application.
MeanOldDBA derrickleggett@hotmail.com
When life gives you a lemon, fire the DBA. |
 |
|
| |
Topic  |
|
|
|