Tina Luedtke c7f2647a62 Docs: Removed Google Analytics tags (#12145) 3 years ago
..
Makefile.am 16f835489c Implement netdata command server and cli tool (#7325) 5 years ago
README.md c7f2647a62 Docs: Removed Google Analytics tags (#12145) 3 years ago
cli.c b8cd2bdc50 Remove unecessary relative paths when including headers. (#11124) 3 years ago
cli.h b8cd2bdc50 Remove unecessary relative paths when including headers. (#11124) 3 years ago

README.md

Netdata CLI

You can see the commands netdatacli supports by executing it with netdatacli and entering help in standard input. All commands are given as standard input to netdatacli.

The commands that a running netdata agent can execute are the following:

The commands are (arguments are in brackets):
help
    Show this help menu.
reload-health
    Reload health configuration.
reload-labels
    Reload all labels.
save-database
    Save internal DB to disk for memory mode save.
reopen-logs
    Close and reopen log files.
shutdown-agent
    Cleanup and exit the netdata agent.
fatal-agent
    Log the state and halt the netdata agent.
reload-claiming-state
    Reload agent claiming state from disk.
ping
    Return with 'pong' if agent is alive.
aclk-state [json]
    Returns current state of ACLK and Cloud connection. (optionally in json)

Those commands are the same that can be sent to netdata via signals.