Link to home
Create AccountLog in
Avatar of Favorable
FavorableFlag for United States of America

asked on

SQL Server Idle Processes

What query can i issue to list all my sql server idle processes?

I need to be able to list all processes in sql that aren't doing anything but just consuming space.

I want to be able to schedule a job that list this idle processes and then kill them.

Currently, we have a unix server, third party app, and sql server 2005. The third party application takes data from unix and do a conversion before importing them to sql server by means of linked server. Our nightmare, in unix server, there are continously a growing idle sql server processes consuming cpu in unix.  

How can i get a list of all sql server idle process that are consuming cpu.?
SOLUTION
Avatar of deviprasadg
deviprasadg
Flag of India image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of Favorable

ASKER

What about if these idle processes are applications, will you still issue a kill?

Is it ok to schedule this as a job?

Does idle processes have a negative impart on SQL?
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
thanks