catalog_query(1)

catalog_query1

Query records from the catalog server

Usage

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

Overview

catalog_query is a tool that queries the catalog server for running services. The output can be filtered by an arbitrary expression, and displayed in raw JSON form, or in tabular form. 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.

--output=<expr>

Display this expression for each record.

--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´

To show all records of WQ applications with name, port, and owner in tabular form:


    

    
        

% catalog_query --where ´type=="wq_master

To show all records of WQ applications with name, port, and owner as JSON records:


    

    
        

% catalog_query --where ´type=="wq_master

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

From coop-computing-tools 1:7.14.5-1+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.