2.3.48. DOS_resource_list

Displays an OS resource list or shows details of one element in that list.

Syntax

DOS_resource_list ,qualifier [=value] [{;windowid | ;fileid}]

where:

resource

Specifies the resource list, for example thread.

qualifier

Specifies what to display, that is all or detail. detail is the default if you specify a value. If you do not specify a value, you must use all.

value

Identifies an object in the specified resource list.

;windowid | ;fileid

Identifies the window or file where the command is to send the output. See Window and file numbers for details.

Description

The DOS_resource_list command displays an OS resource list or shows details of one element in that list. If you are using the GUI, then these are displayed in the Output view. It displays the information as shown in the Details area of the Resource Viewer. The resource and qualifier depend on the OS you are using.

You can get a list of these commands using the DCOMMANDS command, for example:

dcommands all

You can also determine these from the Resource Viewer:

  • resource is determined by the tab you select in the Resource List, with the exception of the Connection tab

  • qualifier is determined by right clicking on an object in the selected tab of the Resource List.

You might want to log your use of the Resource Viewer to determine the CLI commands you can use with your OS.

Examples

The following examples show how to use DOS_resource-list:

fopen 100,'c:\myfiles\threads.txt' dos_thread_list,all ;100 vclose 100

Copies the details of all thread resources to the file c:\myfiles\threads.txt.

dos_thread_list,detail = thread_4 dos_thread_list,detail = 0x39d8

Displays details about the thread named thread_4 and the thread with ID 0x39d8.

dos_timer_list,detail = 0x39d8

Displays details about the specified timer.

See also

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0175N
Non-ConfidentialID052111