This documentation refers to a previously released version of BMC Discovery.
See the information on this topic for the latest version (11.2) or versions 11.1 and 11.0.

The tw_query utility enables you to extract data using a query. The information can be output in CSV or XML format using one of the available arguments.

To use the utility, type the following command at the $TIDEWAY/bin/ directory:

tw_query [options] query

where:

  • query is the data you want to extract from the Search service.
  • options are any of the options described in the following table and the common command line options described in Using command line utilities.

 

Command Line Option

Description

--csv,

Specifies that the output of the query will be saved in .CSV format

--delimiter=CHAR

Specifies the delimiter character used in .CSV files

--file=FILE

Specifies the name of the .CSV output file

--filedump

Dump to files specified in first column

--no-headings

Do not output column headings

--partition=NAME

Specifies the name of the partition to query

--search=NAME

Specifies the name of the search service

--time

Reports the time taken to perform the query

--xml

Specifies that the output of the query will be saved in .XML format

Was this page helpful? Yes No Submitting... Thank you
  • No labels


© Copyright 2017 BMC Software, Inc. © Copyright 2017 BladeLogic, Inc.

Legal notices


© Copyright 2017 BMC Software, Inc.
Legal notices