catalog_update(1)
π catalog_update(1) β the send-an-update-to-the-catalog-server girlie π
okay so bestie, you know how the catalog server is out here collecting gossip about every host in the cluster? yeah. this is the tiny little hand-held megaphone you use to slide into its DMs yourself. it lives in the Cooperative Computing Tools manual, and no cap, it's short but it serves. π«Ά
β¨ NAME β¨
catalog_update β send update to catalog server
that's it. that's the whole name section. she's lowkey humble. π
π SYNOPSIS π
catalog_update [options] [name=value] ..
π¦ DESCRIPTION π¦
so the catalog_update tool lets you manually yeet an update to a catalog server via a short UDP packet. that's the vibe. one little packet, one big glow-up for the catalog. β¨
π OPTIONS π
-c,--catalog=<host>β send the update to this catalog host. this is your target. your main character server. π-f,--file=<json-file>β send extra JSON attributes that live in this file. more fields, more lore. π-d,--debug=<flags>β turn on debug flags.-o,--debug-file=<file>β send that debug output to this file instead of wherever it was going.-v <version>β show software version. version check, periodt. β-h <help>β show all options. when in doubt, ask for help, it's giving self-care. π
the catalog_update tool sends a custom message to the catalog server in the form of a JSON object with various properties describing the host. by default, the catalog_update tool includes the following fields in the update:
typeβ this describes the node type (default is"node").versionβ this is the version of CCTools.cpuβ this is CPU architecture of the machine.opsysβ this is operating system of the machine.opsysversionβ this is operating system version of the machine.load1β this is 1-minute load of the machine.load5β this is 5-minute load of the machine.load15β this is 15-minute load of the machine.memory_totalβ this is total amount of memory on the machinememory_availβ this is amount of available memory on the machinecpusβ this is number of detected CPUs on the machine.uptimeβ this how long the machine has been running.ownerβ this is user who sent the update.
okay so about the field name β it is intended to give a human-readable name to a service or application which accepts incoming connections at port. that's the tea, fr fr. π
πΈ ENVIRONMENT VARIABLES πΈ
CATALOG_HOSTβ hostname of catalog server (same as-c). set it once, forget it, live your life. π
π EXIT STATUS π
- on success, returns zero. π
- on failure, returns non-zero. π
π§ EXAMPLES π§
the following example sends an update to the catalog server located at catalog.cse.nd.edu with three custom fields. watch her work:
% cat > test.json << EOF
{
"type" : "node",
"has_java" : true,
"mode" : 3
}
EOF
% catalog_update -c catalog.cse.nd.edu -f test.json
look at that. iconic. ate. no crumbs. π₯
π 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.
yes bestie, read the license, it's not optional. respecting licenses is highkey the most main character energy there is. π
π 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)
and that's the whole page, bestie!! π this was CCTools 8.0.0 DEVELOPMENT, mwah, go send some updates and slay. π¦β¨π
π¦ 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