Exporting BITE Status Information
The bite_export program
reads the Bitex configuration and exports configured status
information to a CSV file in ASCII format. The program listens to the multicast UDP messages
and retrieves data from there.
You can set bite_export to run in the background as a service using the
/etc/init.d/bite_export script.
-
To configure the tool, type a command similar to the following example:
${install_root}/bin/bite_export -port 30785 -interval 2 -history -output /var/log/irisrda/bite_ascii.csv &Use this command to configure the history option, logging interval, and the output file.
In the example the command logs Bitex status to the defined output file every 2 seconds (
-interval 2).If you change the multicast port, update the configuration here.
-
To use the
-historyoption, you must configurelogrotate.The
-historyoption does not overwrite the file. Instead, it appends the data to the end of the file.If you do not use the -historyoption, only the latest data is saved to output file and old values are overwritten. -
To manage how
bite_exportstarts and stops, login as root and use the following commands.Command Description # chkconfig --add bite_exportEnable bite_exportto start automatically during boot-up.# chkconfig --del bite_exportDisable bite_exportfrom starting automatically during the boot-up.# service bite_export startStart bite_exportif it is not already running.# service bite_export stopStop bite_export.
