0

I am a SQL Database Admin and curious about is it possible to check Application pool site status remotely from DB server?

Is there any way (e.g. SSIS package or SQL script) that I can get the result in table or file?

Thanks in advance

M. Mehta
  • 63
  • 3
  • 10

1 Answers1

1

Execute SQL query in SQL server management studio as below :

 SELECT DB_NAME(dbid), COUNT(dbid) AS NoOfConnections, loginame 
 FROM sys.sysprocesses 
 WHERE dbid > 0 
 GROUP BY dbid, loginame
nativegrip
  • 892
  • 10
  • 20