g7ctrl
Managing daemon for GM7 Xtreme GPS Tracker
...All received events are stored in a database and the daemon supports export of events to GPX, KML, CSV format. It is also possible to have specific action scripts executed upon receiving specific events or generate mail notifications.
The daemon and command shell comes with extensive reference documentation (HTML & PDF) and Unix man pages.