Solved

Using sp_who2

Posted on 2008-10-24
3
223 Views
Last Modified: 2010-04-21
Hi i am using sp-who2 to view the locking on my database, can anyone tell me how it differs from just sp-who?

cheers
0
Comment
Question by:ac_davis2002
[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
3 Comments
 
LVL 18

Accepted Solution

by:
jmoss111 earned 500 total points
ID: 22795408
sp_who provides:

System process ID.
Status of the process.
Login name of the user.
Name of the user.
If the process is blocked, the SPID of the blocking process.
Database the process is using.
Command currently being executed.

sp_who2 also provides:

Total CPU time of each process.
Total amount of disk reads for each process.
Last time a client called a procedure or executed a query.
Application connected.
0
 

Author Closing Comment

by:ac_davis2002
ID: 31509584
First class thanks very much for your help
0
 
LVL 18

Expert Comment

by:jmoss111
ID: 22797773
You're welcome; thanks for the nice comment.

Jim
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

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.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

624 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