% bluechictl 1
bluechictl - Simple command line tool to interact with the public D-Bus API of bluechi
bluechictl [options] command
A simple command line tool that uses the public D-Bus API provided by Eclipse BlueChi™ to manage services on all connected bluechi-agents
and retrieve information from them.
bluechictl [OPTIONS]
Print usage statement and exit.
Print current bluechictl version
Performs one of the listed lifecycle operations on the given systemd unit for the bluechi-agent
.
Kills the processes of (i.e. sends a signal to) the specified unit on the chosen node.
Options:
--kill-whom Enum defining which processes of the unit are killed. Needs to be one of [all, main, control]. Default: all
--signal The signal sent to kill the processes of the unit. Default: 15 (SIGTERM)
Enable the list of systemd unit files for the bluechi-agent
.
Options:
--force, -f Override existing symlinks
--runtime Enable unit files temporarily until next reboot
--no-reload Don't reload daemon after enabling unit files
Disable the list of systemd unit files for the bluechi-agent
.
Options:
--no-reload Don't reload daemon after disabling unit files
Fetches information about all systemd unit files on the bluechi-agents. If [bluechi-agent] is not specified, all agents are queried.
Options:
--filter Use glob filter for the unit file path
Fetches the current enablement status of the specific unit file on the specific bluechi-agent
.
Fetches information about all systemd units on the bluechi-agents. If [bluechi-agent] is not specified, all agents are queried.
Options:
--filter Use glob filter for the unit names
Creates a monitor on the given agent to observe changes in the specified units. Wildcards * to match all agents and/or units are also supported.
Example:
bluechictl monitor
bluechictl monitor node1
bluechictl monitor \* dbus.service,apache2.service
Performs daemon-reload
for the bluechi-agent
.
Fetches the status of all the agents or a specific agent: state (online/offline) and when was it last seen
Options:
--watch, -w Continuously display agent(s) status, updating when state change update received
Example:
bluechictl status
bluechictl status rpi
bluechictl status -w
Fetches the status of the systemd units for the bluechi-agent
.
Performs a reset-failed
on the chosen bluechi-agent
for the selected units.
Fetches the default target on the chosen bluechi-agent
.
Changes the default target to TARGET
file on the chosen bluechi-agent
.