The user should also be aware of the field TPRO, which is present in every database record. If it is set TRUE then a message is printed each time its record is processed and a message is printed for each record processed as a result of it being processed.
dbl ("<record type>")Examples
dbl dbl "ai"This command prints the names of the records in the run time database. If <record type> is not specified, all records are listed. If <record type> is specified, then only the names of the records of that type are listed.
dbgrep ("<pattern>")Examples
dbgrep "S0*" dbgrep "*gpibAi*"Lists all record names that match a pattern. The pattern can contain any characters that are legal in record names as well as "*", which matches one or more of any character.
dba ("<record_name.field_name>")Example
dba "aitest" dba "aitest.VAL"This command calls dbNameToAddr and then prints the value of each field in the dbAddr structure describing the field. If the field name is not specified then VAL is assumed (the two examples above are equivalent).
dbgf ("<record_name.field_name>")Example:
dbgf "aitest" dbgf "aitest.VAL"This performs a dbNameToAddr and then a dbGetField. It prints the value of each element of the dbAddr structure as well as the field value. If the field name is not specified then VAL is assumed (the two examples above are equivalent).
dbpf ("<record_name.field_name>","<value>")Example:
dbpf "aitest","5.0"This command performs a dbNameToAddr followed by a dbPutField and dbgf. If <field_name> is not specified VAL is assumed.
dbpr ("<record_name>",<interest level>)Example
dbpr "aitest",2This command prints all fields of the specified record up to and including those with the indicated interest level. Interest level has one of the following values:
dbtr ("<record_name>")This calls dbNameToAddr, then dbProcess and finally dbpr (interest level 3). Its purpose is to test record processing.
The breakpoint facility records all attempts to process records in a lockset containing breakpoints. A record that is processed through external means, e.g.: a scan task, is called an entrypoint into that lockset. The dbstat command described below will list all detected entrypoints to a lockset, and at what rate they have been detected.
dbb ("<record_name>")Sets a breakpoint in a record. Automatically spawns the bkptCont, or breakpoint continuation task (one per lockset). Further record execution in this lockset is run within this task's context. This task will automatically quit if two conditions are met, all breakpoints have been removed from records within the lockset, and all breakpoints within the lockset have been continued.
dbd ("<record_name>")Removes a breakpoint from a record.
dbs ("<record_name>")Steps through execution of records within a lockset. If this command is called without an argument, it will automatically step starting with the last detected breakpoint.
dbc ("<record_name>")Continues execution until another breakpoint is found. This command may also be called without an argument.
dbpPrints out the fields of the last record whose execution was suspended.
dbap ("<record_name>")Toggles the automatic record printing feature. If this feature is enabled for a given record, it will automatically be printed after the record is processed.
dbstatPrints out the status of all locksets that are suspended or contain breakpoints. This lists all the records with breakpoints set, what records have the autoprint feature set (by dbap), and what entrypoints have been detected. It also displays the vxWorks task ID of the breakpoint continuation task for the lockset. Here is an example output from this call:
LSet: 00009 Stopped at: so #B: 00001 T: 0x23cafac Entrypoint: so #C: 00001 C/S: 0.1 Breakpoint: so (ap) LSet: 00008 #B: 00001 T: 0x22fee4c Breakpoint: outputThe above indicates that two locksets contain breakpoints. One lockset is stopped at record "so." The other is not currently stopped, but contains a breakpoint at record "output." "LSet:" is the lockset number that is being considered. "#B:" is the number of breakpoints set in records within that lockset. "T:" is the vxWorks task ID of the continuation task. "C:" is the total number of calls to the entrypoint that have been detected. "C/S:" is the number of those calls that have been detected per second. (ap) indicates that the autoprint feature has been turned on for record "so."
dbior ("<driver_name>",<interest level>)This command calls the report entry of the indicated driver. If <driver_name> is not specified then the report for all drivers is generated. It also calls the report entry of all device support modules. Interest level is one of the following:
dbhcrThis command produces a report of all hardware links. To use it on the IOC, issue the command:
dbhcr > reportThe report will probably not be in the sort order desired so on Unix issue the command:
sort report > report.sortreport.sort should contain the sort order you desire.
scanpplThis routine prints a list of all records in the periodic scan lists.
scanpelThis routine prints a list of all records in the event scan lists.
scanpiolThis routine prints a list of all records in the I/O event scan lists.
TSReportThis routine prints out information about the Time server. This includes:
asSetFilename ("<filename>")This command defines a new access security file.
asInitThis command reinitializes the access security system. It rereads the access security file in order to create the new access security database. This command is useful either because the asSetFilename command was used to change the file or because the file itself was modified. Note that it is also possible to reinitialize the access security via a subroutine record. See the access security document for details.
asdbdumpThis provides a complete dump of the access security database.
aspuag ("<user access group>")Print the members of the user access group. If no user access group is specified then the members of all user access groups are displayed.
asphag ("<host access group>")Print the members of the host access group. If no host access group is specified then the members of all host access groups are displayed.
asprules ("<access security group>")Print the rules for the specified access security group or if no group is specified for all groups.
aspmem ("<access security group>", <print clients>)Print the members (records) that belong to the specified access security group, for all groups if no group is specified. If <print clients> is (0, 1) then Channel Access clients attached to each member (are not, are) shown.
ca_chanel_status (taskid)Prints status for each channel in use by specialized vxWorks task.
client_statChannel Access client status
dbel ("<record_name>")This routine prints the Channel Access event list for the specified record.
veclistPrint Interrupt Vector List
epicsPrtEnvParamsPrint Environment Variables
dbt ("<record_name")Times the execution of 100 successive processings of record record_name. Note that process passive and forward links within this record may incur the processing of other records in its lockset. This function is a wrapper around the VxWorks timexN() function, and directly displays its output. Therefore one must divide the result by 100 to get the execution time for one processing of record_name.
dbtgf ("<record_name.field_name>")Example:
dbtgf "aitest" dbtgf "aitest.VAL"This performs a dbNameToAddr and then calls dbGetField with all possible request types and options. It prints the results of each call. This routine is of most interest to system developers for testing database access.
dbtpf ("<record_name.field_name>","<value>")Example:
dbtpf "aitest","5.0"This command performs a dbNameToAddr, then calls dbPutField, followed by dbgf for each possible request type. This routine is of interest to system developers for testing database access.
dbtpn ("<record_name.field_name>","<value>")Example:
dbtpn "aitest","5.0"This command performs a dbNameToAddr, then calls dbPutNotify and has a callback routine that prints a message when it is called. This routine is of interest to system developers for testing database access.
dblls (lock_set)This command generates a report showing the lock set to which each record belongs. If lock_set is 0 all records are shown, otherwise only records in the specified lock set are shown.
gft ("<record_name.field_name>")Example:
gft "aitest" gft "aitest.VAL"This performs a db_name_to_addr and then calls db_get_field with all possible request types. It prints the results of each call. This routine is of interest to system developers for testing database access.
pft ("<record_name.field_name>","<value>")Example:
pft "aitest","5.0"This command performs a db_name_to_addr, db_put_field , db_get_field and prints the result for each possible request type. This routine is of interest to system developers for testing database access.
tpn ("<record_name.field_name>","<value>")Example:
tpn "aitest","5.0"This routine tests dbPutNotify via the old database access interface.