ifxguard utility syntax
Use the ifxguard utility commands start, stop, and configure auditing.
Syntax
| Element | Purpose |
|---|---|
| -c configuration_file | Specifies the path and name of the ifxguard configuration file. Default is $INFORMIXDIR/etc/ifxguard.$INFORMIXSERVER. |
| -k agent_name | Stops the specified ifxguard agent. |
| -l log_file_path | Specifies the full path and file name for the ifxguard log file. |
| -p exit_file | Starts the ifxguard agent and generates a configuration file with the name $INFORMIXSERVER_guard. Specifies the full path and file name of the Informix® EXIT file for IBM® Security Guardium®. Default is $HOME/lib/libguard_informix_exit_64.so. |
| -r agent_name | Reloads the ifxguard configuration file for the specified ifxguard agent while the agent is running. Changes to only the debug level and the log file are recognized during reloading. |
| -w workers | Specifies the number of threads for the ifxguard agent. |
Example: Start the ifxguard agent with the default configuration file
The following command starts the ifxguard agent with the configuration file in the default location:
ifxguard
Example: Start the ifxguard agent and generate a configuration file
The following command starts the ifxguard agent and generates a configuration file that specifies a log file and 6 worker threads:
ifxguard -p $HOME/lib/libguard_informix_exit_64.so -l /tmp/logfile.txt -w 6
Example: Stop the ifxguard agent
The following command stops the ifxguard agent that is named ifxg_ol_informix1210_1:
ifxguard -k ifxg_ol_informix1210_1
Example: Change the configuration of the ifxguard agent
The following command reloads the edited configuration file for the ifxguard agent that is named ifxg_ol_informix1210_1:
ifxguard -r ifxg_ol_informix1210_1