Solved

SQL Current Activity of each proccess using a query

Posted on 2002-04-17
5
320 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 100 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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
online  environment for testing sql queries 5 32
T-SQL to copy a database 37 66
Upgrading to SQL Server 2015 Express 2 36
Specify timing interval fro change data 2 57
Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
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.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

726 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