SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


sysprocesses


sysprocesses

Author
Message
DBA-640728
DBA-640728
SSCrazy
SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)

Group: General Forum Members
Points: 2919 Visits: 2000
hi guys in the master..sysprocesses, how is the CPU column measured? and the Memusage? i see high numbers in the CPU (around 20k) and fo rthe memusage is 2.
MANU-J.
MANU-J.
SSCertifiable
SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)

Group: General Forum Members
Points: 7104 Visits: 8766
Hope this helps for CPU question:

http://www.sqlservercentral.com/articles/Performance+Tuning+and+Scaling/detectingperformanceissueswithsysprocesses/2180/


Manu
MANU-J.
MANU-J.
SSCertifiable
SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)

Group: General Forum Members
Points: 7104 Visits: 8766
Regarding memusage column I found this:

Pls note that BOL states that MEMUSAGE is only for backward compatibility and should not be relied upon.

The suggestion is to use perfmon counters such as what is listed below, agreed it does not answer your question in terms of finding out what table is in memory and which one is not.

SQL Server: Buffer Manager Object

Procedure Cache Pages In Use
Procedure Cache Size (pages)


SQL Server: Cache Manager Object
Procedure Cache Hit Ratio
Procedure Cache Pages
Procedure Cache Object Counts*

(http://sqlforums.windowsitpro.com/web/forum/messageview.aspx?catid=60&threadid=85706&enterthread=y)

Hope it answers your question.

Manu Jaidka
DBA-640728
DBA-640728
SSCrazy
SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)

Group: General Forum Members
Points: 2919 Visits: 2000
thank you Manu, that's exactly where i got it from. My question is , in the article it says to check for values in the thousands for the CPU, i just wanted to find out how it is counted KB? Another thing, when i run this

select * from master..sysprocesses
where status = 'runnable'
order by CPU
desc


I get a lot of lastwaittypes SOS_SCHEDULER_YIELD
with cpus from 8k-10k, when i run the

DBCC INPUTBUFFER (spid)


then i get that is an rpc events, so these indicated that these stored procedures are taking high CPU Processor%?

Another question,

yesterday we were having slowness issues in the server and i run this

select * from master..sysprocesses
order by CPU
desc


*without the status filter

this is what i got:

CPU :127743
Status: sleeping
lastwaittype: MISCELLANEOUS
programn name: Replication-LogReader
cmd: AWAITING COMMAND

Could this be the problem? or should i ignore it since the status is sleeping?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search