dhconfig serviceregistry
The serviceregistry
(or registry
) configuration data type of the dhconfig tool is used to work with the service registry configuration.
dhconfig serviceregistry [list|help] [arguments]
serviceregistry
has only one action: list
, which lists service registry configurations to a file or to stdout
.
The --help
argument:
dhconfig serviceregistry list --help
...provides detailed information on list
's available arguments, as well as usage examples.
usage: dhconfig serviceregistry list [--configfile <arg>] [--diskprops] [--etcd] [-f <arg>] [-h] [-k <arg> | -user
<arg>] [-pf <arg>] [--process <arg>] [-v]
List service registry configurations to a file or stdout
list
examples
List all registered services (the service registry configuration):
/usr/illumon/latest/bin/dhconfig registry list
Export service registry configuration to /tmp/registry.txt
:
/usr/illumon/latest/bin/dhconfig registry list --file /tmp/registry.txt
Show all service configurations for one process (db_dis
):
/usr/illumon/latest/bin/dhconfig registry list --process db_dis
/usr/illumon/latest/bin/dhconfig registry list db_dis
Show all service configurations for multiple processes (db_dis
and db_rta
):
/usr/illumon/latest/bin/dhconfig registry list --process db_dis --process db_rta
/usr/illumon/latest/bin/dhconfig registry list db_dis db_rta
Export individual or multiple service registry configurations to /tmp/registry.txt
:
/usr/illumon/latest/bin/dhconfig registry list --process db_dis --file /tmp/registry.txt
/usr/illumon/latest/bin/dhconfig registry list db_dis --file /tmp/registry.txt
/usr/illumon/latest/bin/dhconfig registry list --process db_dis --process db_rta --file /tmp/registry.txt
/usr/illumon/latest/bin/dhconfig registry list db_dis db_rta --file /tmp/registry.txt