catalog_query(1)

NAME

catalog_query - query records from the catalog server

SYNOPSIS

catalog_query [--where [expr]] [--catalog [host]] [-d [flag]] [-o [file]] [-O [size]] [-t [timeout]] [-h]

DESCRIPTION

catalog_query is a tool that queries a catalog server for raw JSON records. The records can be filtered by an optional --where expression. This tool is handy for querying custom record types not handled by other tools.

ARGUMENTS

--where expr Only records matching this expression will be displayed.
--catalog host Query this catalog host.
--debug flag Enable debugging for this subsystem.
--debug-file file Send debug output to this file.
--debug-rotate-max bytes Rotate debug file once it reaches this size.
--timeout seconds Abandon the query after this many seconds.
--help Show command options.

EXAMPLES

To show all records in the catalog server:
% catalog_query
To show all records of other catalog servers:
% catalog_query --where \'type=="catalog"\'
To show all records of Chirp servers with more than 4 cpus:
% catalog_query --where \'type=="chirp" && cpus > 4\'

COPYRIGHT

The Cooperative Computing Tools are Copyright (C) 2003-2004 Douglas Thain and Copyright (C) 2005-2015 The University of Notre Dame. This software is distributed under the GNU General Public License. See the file COPYING for details.

SEE ALSO


CCTools 6.2.2 FINAL from source released on