Agent CLI Usage

$ iofog-agent command --option <argument>

Commands

config

Change the software configuration according to the options provided.

Usage
$ iofog-agent config --option [<optional-argument>]
$ iofog-agent config defaults
Arguments
defaults Reset configuration to default values
-d <#GB Limit> Set the limit, in GiB, of disk space that the software is allowed to use
-dl Set the directory to use for disk storage
-m <#MB Limit Set the limit, in MiB, of RAM memory that the software is allowed to use for messages
-p <#cpu % Limit> Set the limit, in percentage, of CPU time that the software is allowed to use
-a <uri> Set the uri of the fog controller to which this software connects
-ac <filepath> Set the file path of the SSL/TLS certificate for validating the fog controller identity
-c <uri> Set the UNIX socket or network address that the Docker daemon is using
-n <network adapter> Set the name of the network adapter that holds the correct IP address of this machine
-l <#MB Limit> Set the limit, in MiB, of disk space that the log files can consume
-ld <dir> Set the directory to use for log file storage
-lc <#log files> Set the number of log files to evenly split the log storage limit
-sf <#seconds> Set the status update frequency
-cf <#seconds> Set the get changes frequency
-df <#seconds> Set the post diagnostics frequency
-sd <#seconds> Set the scan devices frequency
-idc <on/off> Set the mode on which any not registered docker container will be shut down
-gps <auto/off/#GPS> Set gps location of fog. Use auto to get coordinates by IP, use off to forbid gps, use GPS coordinates in DD format to set them manually. Format: DD.DDD(lat), DD.DDD(lon)
-ft <auto/intel_amd/arm> Set fog type. Use auto to detect fog type by system commands, use arm or intel_amd to set it manually

info

Display the current configuration and other information about the software

Usage

| $ iofog-agent info

provision

Change the software configuration according to the options provided.

Usage

| $ iofog config --option [<optional-argument>] | $ iofog config defaults

Arguments

| defaults | Reset configuration to default values

deprovision

Change the software configuration according to the options provided.

Usage

| $ iofog config --option [<optional-argument>] | $ iofog config defaults

Arguments

| defaults | Reset configuration to default values

status

Change the software configuration according to the options provided.

Usage

| $ iofog config --option [<optional-argument>] | $ iofog config defaults

Arguments

| defaults | Reset configuration to default values

version

Change the software configuration according to the options provided.

Usage

| $ iofog config --option [<optional-argument>] | $ iofog config defaults

Arguments

| defaults | Reset configuration to default values

help

Change the software configuration according to the options provided.

Usage

| $ iofog config --option [<optional-argument>] | $ iofog config defaults

Arguments

| defaults | Reset configuration to default values

Looking for an enterprise solution?

Run software at the edge with Edgeworx.

Learn More