gpsdctl (8)
Leading comments
Title: gpsdctl Author: [see the "AUTHOR" section] Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> Date: 25 Jun 2011 Manual: GPSD Documentation Source: The GPSD Project Language: English
NAME
gpsdctl - tool for sending commands to gpsd over its control socketSYNOPSIS
- gpdsctl action device
DESCRIPTION
The action argument may be "add" or "remove". If no daemon instance is running when an add is requested, this program will launch one.
The "device" argument should be the pathname of a device. A device on the list will be opened to read sensor data whenever a client requests a watch.
Two environment variables are interpreted. GPSD_SOCKET sets the location of the control socket. It defaults to /var/run/gpsd.sock if the effective user ID of this program is root, /tmp/gpsd.sock otherwise.
GPSD_OPTIONS may be a list of options to be passed to gpsd when this tool launches it. It defaults to an empty string.
RETURN VALUES
1 if the action was unknown or the write to the control socket failed, 0 otherwise
SEE ALSO
gpsd(8), gpsctl(1), gps(1), libgps(3), libgpsd(3), gpsprof(1), gpsfake(1).
AUTHOR
Eric S. Raymond <esr@thyrsus.com>.