catalog_query(1)
πΈ NAME πΈ
okay so bestie, say hi to catalog_query β that's the section 1 manual page, and it's literally the tool that queries records from the catalog server. that's the whole vibe. π
π¦ SYNOPSIS π¦
catalog_query [--where [expr]] [--catalog [host]] [-d [flag]] [-o [file]] [-O [size]] [-t [timeout]] [-h]
yeah she's got short forms too β -d, -o, -O, -t, -h β they're right there in the synopsis, no cap.
β¨ DESCRIPTION β¨
so like, catalog_query is a tool that goes and asks a catalog server for raw JSON records. that's it. that's the job. π«Ά
and here's the cute part: you can filter those records with an optional --where expression, so you're not just drowning in everything the catalog has ever known. π
it's giving very handy for querying custom record types β the ones the other tools just don't handle. iykyk. π
π ARGUMENTS π
--whereexpr β only records that match this expression get shown. filtering queen behavior.--cataloghost β query this catalog host specifically, bestie. π--debugflag β turn on debugging for this subsystem. π--debug-filefile β send that debug output to this file instead.--debug-rotate-maxbytes β rotate the debug file once it hits this size. big file? not on her watch.--timeoutseconds β abandon the query after this many seconds. β° she will not wait forever, and honestly? respect.--helpβ show the command options. the classic.
π₯ EXAMPLES π₯
to show all the records in the catalog server:
% catalog_query
no flags, no filter, just raw unfiltered everything. main character energy. π
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Β΄
look at that &&. look at that > 4. she ate. π
π COPYRIGHT π
The Cooperative Computing Tools are Copyright (C) 2005-2019 The University of Notre Dame. This software is distributed under the GNU General Public License. See the file COPYING for details.
fr fr, read the COPYING file, it's important and it's right there. π
π SEE ALSO π
- Cooperative Computing Tools Documentation
catalog_server(1)catalog_update(1)catalog_query(1)chirp_status(1)work_queue_status(1)deltadb_query(1)
go read those too, bestie, they're all in the friend group. π¦
and that's the page!! π this was CCTools 8.0.0 DEVELOPMENT, and yeah, catalog_query is section 1, always and forever. mwah. π«Άβ¨
π¦ where this page comes from
- debian bookworm: coop-computing-tools 9.9-2+b4 Β· GPL-2.0-only
- ubuntu jammy: coop-computing-tools 9.9-2ubuntu3 Β· GPL-2.0-only
- ubuntu noble: coop-computing-tools 9.9-4ubuntu4 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms