?
Solved

SQL Current Activity of each proccess using a query

Posted on 2002-04-17
5
Medium Priority
?
341 Views
Last Modified: 2008-02-26
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 ?
0
Comment
Question by:andresfbg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 69

Accepted Solution

by:
Scott Pletcher earned 400 total points
ID: 6948041
Master..sysprocesses contains info for active processes.
0
 
LVL 69

Expert Comment

by:Scott Pletcher
ID: 6948046
This is the primary table that sp_who and sp_who2 use to display activity.
0
 
LVL 5

Expert Comment

by:spcmnspff
ID: 6948054
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
 

Expert Comment

by:CleanupPing
ID: 9280612
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question