SQL Current Activity of each proccess using a query

Is there any way to know the current activity of each process in my SQL Server without use the current activity in the enterprise manager ?
Is there any undocumented table that can i query for know the issue ?
andresfbgAsked:
Who is Participating?
 
Scott PletcherConnect With a Mentor Senior DBACommented:
Master..sysprocesses contains info for active processes.
0
 
Scott PletcherSenior DBACommented:
This is the primary table that sp_who and sp_who2 use to display activity.
0
 
spcmnspffCommented:
Have you tried sp_who2 ?  It's not all the same info but about 80 percent of it is.  Run sp_Who2 from query analyzer and it will give you the process info of all the current processes on that server.
0
 
CleanupPingCommented:
andresfbg:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
All Courses

From novice to tech pro — start learning today.