Language: C++

COSMOS Agent Program

The following are basic agent commands for retrieving data from the agents.

List all the agents

This command will return the agents that are currently running on the network.

$ agent list

List heartbeats

This command will print out the heartbeats of the currently running agents on the network. It prints on a per-agent basis, meaning it will organize the posted data by the agent process.

$ agent dump beat

List state of health for other agents

This command will print out the state of health of the currently running agents on the network. Contrary to heartbeats, the state of health prints out an aggregated list of posted data of all agents.

$ agent dump soh

 


Tags: