Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

!Locks dont list all informations

Maximilian_SchuehrerMaximilian_Schuehrer Member - All Emails Posts: 1
Hello everybody,

Problem:
Kernel-mode
when i type !locks i get one line of output:
9036 total locks


when i type the process id: !locks PRID i get:

NumberOfSharedWaiters = 262145
1 total locks.


Shouldn?t there more information about the waiters / locks ?


Greetings
Max

Comments

  • Mark_RoddyMark_Roddy Member - All Emails Posts: 4,271
    If a lock is not currently held you get this:
    !locks 0xfffff80048437c78

    Resource @ 0xfffff80048437c78 Available
    1 total locks

    I the lock is being held you get this:
    !locks nt!CmpRegistryLock

    Resource @ nt!CmpRegistryLock (0xfffff8021be1f380) Shared 2 owning
    threads
    Contention Count = 4529
    Threads: ffffab09262b7080-02<*> ffffab0935464080-01<*>

    Mark Roddy


    On Fri, Aug 24, 2018 at 10:12 AM xxxxx@siemens.com <
    xxxxx@lists.osr.com> wrote:

    > Hello everybody,
    >
    > Problem:
    > Kernel-mode
    > when i type !locks i get one line of output:
    > 9036 total locks
    >
    >
    > when i type the process id: !locks PRID i get:
    >
    > NumberOfSharedWaiters = 262145
    > 1 total locks.
    >
    >
    > Shouldn´t there more information about the waiters / locks ?
    >
    >
    > Greetings
    > Max
    >
    >
    > ---
    > WINDBG is sponsored by OSR
    >
    > OSR is hiring!! Info at http://www.osr.com/careers
    >
    >
    > MONTHLY seminars on crash dump analysis, WDF, Windows internals and
    > software drivers!
    > Details at
    >
    > To unsubscribe, visit the List Server section of OSR Online at <
    > http://www.osronline.com/page.cfm?name=ListServer>;
    >
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!