Listing Threads

Using windbg how can I list all the active threads. I know I can use !ready
to list the ready threads but what about the actively running threads?

Ken


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

try the ~ command.

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 9:29 AM
To: File Systems Developers
Subject: [ntfsd] Listing Threads

Using windbg how can I list all the active threads. I know I can use !ready
to list the ready threads but what about the actively running threads?

Ken

You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

What is the syntax. I tried it and it does not do anything.

Ken
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Wesley Witt
Sent: Thursday, December 14, 2000 4:16 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

try the ~ command.
-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 9:29 AM
To: File Systems Developers
Subject: [ntfsd] Listing Threads

Using windbg how can I list all the active threads. I know I can use
!ready to list the ready threads but what about the actively running
threads?

Ken

You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Have you tried !threads? (See !help for info)

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 2:50 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

What is the syntax. I tried it and it does not do anything.

Ken

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Wesley Witt
Sent: Thursday, December 14, 2000 4:16 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

try the ~ command.

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 9:29 AM
To: File Systems Developers
Subject: [ntfsd] Listing Threads

Using windbg how can I list all the active threads. I know I can use !ready
to list the ready threads but what about the actively running threads?

Ken

You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

!ready means you’re in the kernel debugger. Wes’ comment only applies to
usermode work, ~ there will list the state of all the threads in the
process.

Kernelmode, finding running threads is easy since all you need to do is
look at each processor. You have N, so

0kb
1kb
2kb
etc.

up to N-1.

In kernelmode, ~ will switch processor contexts.

~0 ; kb
~1 ; kb

is functionally equivalent, though the first will leave you in the
processor context you broke into.

Obviously all of this is no-op except on multi-proc.

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 1:50 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

What is the syntax. I tried it and it does not do anything.

Ken
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Wesley Witt
Sent: Thursday, December 14, 2000 4:16 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

try the ~ command.
-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 9:29 AM
To: File Systems Developers
Subject: [ntfsd] Listing Threads

Using windbg how can I list all the active threads. I know I can use
!ready to list the ready threads but what about the actively running
threads?

Ken

You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You are currently subscribed to ntfsd as: xxxxx@exchange.microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

There is no “!threads”. “!thread” shows only the current thread, so does
“!thread *”.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Rick Winter
Sent: Thursday, December 14, 2000 5:03 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

Have you tried !threads? (See !help for info)

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 2:50 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

What is the syntax. I tried it and it does not do anything.

Ken

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Wesley Witt
Sent: Thursday, December 14, 2000 4:16 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

try the ~ command.

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 9:29 AM
To: File Systems Developers
Subject: [ntfsd] Listing Threads

Using windbg how can I list all the active threads. I know I can use !ready
to list the ready threads but what about the actively running threads?

Ken

You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Do !process 0 - it lists all processes and tells
who is running.

Boris

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Ken Galipeau
Sent: Thursday, December 14, 2000 5:31 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

There is no “!threads”. “!thread” shows only the current thread, so does
“!thread *”.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Rick Winter
Sent: Thursday, December 14, 2000 5:03 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

Have you tried !threads? (See !help for info)

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 2:50 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

What is the syntax. I tried it and it does not do anything.

Ken

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Wesley Witt
Sent: Thursday, December 14, 2000 4:16 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

try the ~ command.

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 9:29 AM
To: File Systems Developers
Subject: [ntfsd] Listing Threads

Using windbg how can I list all the active threads. I know I can use !ready
to list the ready threads but what about the actively running threads?

Ken

You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@emc.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Try !process. It will dump all the threads in a given process. Use
!process 0 to get all processes.

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 3:31 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

There is no “!threads”. “!thread” shows only the current thread, so does
“!thread *”.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Rick Winter
Sent: Thursday, December 14, 2000 5:03 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

Have you tried !threads? (See !help for info)

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 2:50 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

What is the syntax. I tried it and it does not do anything.

Ken

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Wesley Witt
Sent: Thursday, December 14, 2000 4:16 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

try the ~ command.

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 9:29 AM
To: File Systems Developers
Subject: [ntfsd] Listing Threads

Using windbg how can I list all the active threads. I know I can use !ready
to list the ready threads but what about the actively running threads?

Ken

You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

>Using windbg how can I list all the active threads. I know I can use !ready
to

list the ready threads but what about the actively running threads?

In NT’s terminology, “running” thread is only one per CPU.
You can list all PCRs on the SMP machine via WinDbg to list all running
threads.

Max


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Thanks, “!process 0” seems to give me what I need but is there any way to
just list the ‘system’ threads? I tried “!process System” but it does not
work. And those flags? if I put them in it says “Searching for Process with
Cid == 2”. But if I put a process address I get all the threads and the
stack trace for each? Are these nuances documented anywhere. !help is pretty
useless.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Rick Winter
Sent: Thursday, December 14, 2000 5:45 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

Try !process. It will dump all the threads in a given process. Use
!process 0 to get all processes.

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 3:31 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

There is no “!threads”. “!thread” shows only the current thread, so does
“!thread *”.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Rick Winter
Sent: Thursday, December 14, 2000 5:03 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

Have you tried !threads? (See !help for info)

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 2:50 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

What is the syntax. I tried it and it does not do anything.

Ken

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Wesley Witt
Sent: Thursday, December 14, 2000 4:16 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

try the ~ command.

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 9:29 AM
To: File Systems Developers
Subject: [ntfsd] Listing Threads

Using windbg how can I list all the active threads. I know I can use !ready
to list the ready threads but what about the actively running threads?

Ken

You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

I guess I wanted all the suspended threads, those no running or ready.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Maxim S. Shatskih
Sent: Thursday, December 14, 2000 7:50 PM
To: File Systems Developers
Subject: [ntfsd] Re: Listing Threads

Using windbg how can I list all the active threads. I know I can use !ready
to
list the ready threads but what about the actively running threads?

In NT’s terminology, “running” thread is only one per CPU.
You can list all PCRs on the SMP machine via WinDbg to list all running
threads.

Max


You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

from kd i would do a “!process 0 7” and make sure that the command window
buffer size is 9999. then you can either use the built in command windows
edit functions to search for what you want or just copy the entire window
contents and paste them into your editor. your done.

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 9:04 PM
To: File Systems Developers
Subject: [ntfsd] Re: Listing Threads

I guess I wanted all the suspended threads, those no running or ready.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Maxim S. Shatskih
Sent: Thursday, December 14, 2000 7:50 PM
To: File Systems Developers
Subject: [ntfsd] Re: Listing Threads

Using windbg how can I list all the active threads. I know I can use !ready
to
list the ready threads but what about the actively running threads?

In NT’s terminology, “running” thread is only one per CPU.
You can list all PCRs on the SMP machine via WinDbg to list all running
threads.

Max


You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Have you read the HTML help for !process?

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 9:01 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

Thanks, “!process 0” seems to give me what I need but is there any way
to
just list the ‘system’ threads? I tried “!process System” but it does
not
work. And those flags? if I put them in it says “Searching for Process
with
Cid == 2”. But if I put a process address I get all the threads and the
stack trace for each? Are these nuances documented anywhere. !help is
pretty
useless.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Rick Winter
Sent: Thursday, December 14, 2000 5:45 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

Try !process. It will dump all the threads in a given process.
Use
!process 0 to get all processes.

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 3:31 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

There is no “!threads”. “!thread” shows only the current thread, so does
“!thread *”.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Rick Winter
Sent: Thursday, December 14, 2000 5:03 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

Have you tried !threads? (See !help for info)

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 2:50 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

What is the syntax. I tried it and it does not do anything.

Ken

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Wesley Witt
Sent: Thursday, December 14, 2000 4:16 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

try the ~ command.

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 9:29 AM
To: File Systems Developers
Subject: [ntfsd] Listing Threads

Using windbg how can I list all the active threads. I know I can use
!ready
to list the ready threads but what about the actively running threads?

Ken

You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Ken,

If you go to http://www.microsoft.com/ddk/debugging/ you can download
the latest debugger. Inside this package is a help file called
debugger.chm which has very good documentation on all of the debugger
commands including the debugger extensions. Lookup !process and you
will see lots of good information on how to use it.

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 9:01 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

Thanks, “!process 0” seems to give me what I need but is there any way
to
just list the ‘system’ threads? I tried “!process System” but it does
not
work. And those flags? if I put them in it says “Searching for Process
with
Cid == 2”. But if I put a process address I get all the threads and the
stack trace for each? Are these nuances documented anywhere. !help is
pretty
useless.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Rick Winter
Sent: Thursday, December 14, 2000 5:45 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

Try !process. It will dump all the threads in a given process.
Use
!process 0 to get all processes.

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 3:31 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

There is no “!threads”. “!thread” shows only the current thread, so does
“!thread *”.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Rick Winter
Sent: Thursday, December 14, 2000 5:03 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

Have you tried !threads? (See !help for info)

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 2:50 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

What is the syntax. I tried it and it does not do anything.

Ken

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Wesley Witt
Sent: Thursday, December 14, 2000 4:16 PM
To: File Systems Developers
Subject: [ntfsd] RE: Listing Threads

try the ~ command.

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, December 14, 2000 9:29 AM
To: File Systems Developers
Subject: [ntfsd] Listing Threads

Using windbg how can I list all the active threads. I know I can use
!ready
to list the ready threads but what about the actively running threads?

Ken

You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@Exchange.Microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hi,
What I do is first do !process 0 and get address for system process and
save it to notepad text. Then I cut & paste
!process
That gives for all threads in that process

— Neal Christiansen wrote:
> Ken,
>
> If you go to http://www.microsoft.com/ddk/debugging/ you can download
> the latest debugger. Inside this package is a help file called
> debugger.chm which has very good documentation on all of the debugger
> commands including the debugger extensions. Lookup !process and you
> will see lots of good information on how to use it.
>
> -----Original Message-----
> From: Ken Galipeau [mailto:xxxxx@legato.com]
> Sent: Thursday, December 14, 2000 9:01 PM
> To: File Systems Developers
> Subject: [ntfsd] RE: Listing Threads
>
>
> Thanks, “!process 0” seems to give me what I need but is there any
> way
> to
> just list the ‘system’ threads? I tried “!process System” but it does
> not
> work. And those flags? if I put them in it says “Searching for
> Process
> with
> Cid == 2”. But if I put a process address I get all the threads and
> the
> stack trace for each? Are these nuances documented anywhere. !help is
> pretty
> useless.
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Rick Winter
> Sent: Thursday, December 14, 2000 5:45 PM
> To: File Systems Developers
> Subject: [ntfsd] RE: Listing Threads
>
>
>
> Try !process. It will dump all the threads in a given process.
> Use
> !process 0 to get all processes.
>
> -----Original Message-----
> From: Ken Galipeau [mailto:xxxxx@legato.com]
> Sent: Thursday, December 14, 2000 3:31 PM
> To: File Systems Developers
> Subject: [ntfsd] RE: Listing Threads
>
>
> There is no “!threads”. “!thread” shows only the current thread, so
> does
> “!thread *”.
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Rick Winter
> Sent: Thursday, December 14, 2000 5:03 PM
> To: File Systems Developers
> Subject: [ntfsd] RE: Listing Threads
>
>
> Have you tried !threads? (See !help for info)
>
> -----Original Message-----
> From: Ken Galipeau [mailto:xxxxx@legato.com]
> Sent: Thursday, December 14, 2000 2:50 PM
> To: File Systems Developers
> Subject: [ntfsd] RE: Listing Threads
>
>
> What is the syntax. I tried it and it does not do anything.
>
> Ken
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Wesley Witt
> Sent: Thursday, December 14, 2000 4:16 PM
> To: File Systems Developers
> Subject: [ntfsd] RE: Listing Threads
>
>
> try the ~ command.
>
> -----Original Message-----
> From: Ken Galipeau [mailto:xxxxx@legato.com]
> Sent: Thursday, December 14, 2000 9:29 AM
> To: File Systems Developers
> Subject: [ntfsd] Listing Threads
>
>
> Using windbg how can I list all the active threads. I know I can use
> !ready
> to list the ready threads but what about the actively running
> threads?
>
> Ken
> —
> You are currently subscribed to ntfsd as: xxxxx@veritas.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
> —
> You are currently subscribed to ntfsd as: xxxxx@legato.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
> —
> You are currently subscribed to ntfsd as: xxxxx@veritas.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@legato.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@veritas.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
> —
> You are currently subscribed to ntfsd as: xxxxx@legato.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@Exchange.Microsoft.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
> —
> You are currently subscribed to ntfsd as: xxxxx@yahoo.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com