Sun Studio 12: Debugging a Program With dbx

threads Command

The threads command lists all threads.

Native Mode Syntax

threads

Print the list of all known threads.

threads -all

Print threads normally not printed (zombies).

threads -mode all|filter

Controls whether all threads are printed or threads are filtered. The default is to filter threads. When filtering is on, threads that have been hidden by the thread -hide command are not listed.

threads -mode auto|manual

Under the dbx Debugger, enables automatic updating of the thread listing.

threads -mode

Echo the current modes.

Each line of information is composed of the following:

Java Mode Syntax

threads

Print the list of all known threads.

threads -all

Print threads normally not printed (zombies).

threads -mode all|filter

Controls whether all threads are printed or threads are filtered. The default is to filter threads.

threads -mode auto|manual

Under the dbx Debugger, enables automatic updating of the thread listing.

threads -mode

Echo the current modes.

Each line of information in the listing is composed of the following: