Solved

Using sp_who2

Posted on 2008-10-24
3
220 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
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…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

839 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