Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

check process running 1

Status
Not open for further replies.

peac3

Technical User
Joined
Jan 17, 2009
Messages
226
Location
AU
Hi guys,

I am trying to find SPIDs are currently running,

I tried to have a look in job activity monitor, I can see the processes running but unfortunately it doesnt give me the SPID.
Im using SQLSERVER 2005

Any advice about this?

Cheers guys,
 
erm, yes it does, process id = spid...

you could also use sys.sysprocesses...

--------------------
Procrastinate Now!
 
I was using Database 2005 but the interface is SQL 2008, so it's totally rewritten for the "Activity monitor".

the SQL2008 feature has processes, Resource Waits, Data File I/O etc,

but I still like old 'Activity Monitor' better, hence im still using sp_who2, what do you guys think?
 
I generally like to use sys.sysprocesses since I can easily put where clauses in, but who2 is just as good if the server doesn't have lots of connections...

--------------------
Procrastinate Now!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top