Minicom Advanced Systems CMG-DCM manual Digitizer console access

Page 87

Operator's guide

gcfgdbmark dirty option-name-or-prefix : Enter this command to mark the named configuration option as “dirty” in the database.

gcfgdbisdirty option-name-or-prefix(option-names-or- prefixes...) : This command finds out whether any of the named options is marked as “dirty”. If none are marked, the command exits successfully; otherwise, it exits with a failure code. Thus you can use gcfgdbisdirty in your own shell scripts, to perform actions depending on the status of the DCM's configuration options.

Note that marking an option as “dirty” will not necessarily lead to any action being taken. For example, you cannot force a service to be restarted using these commands.

Each of the four tools can also take two command-line options:

gcfgdbxxx -h : Displays a short usage reminder about the command gcfgdbxxx. All other arguments will be ignored.

gcfgdbxxx -cconfig-databaseother-arguments : Normally, all the gcfgdbxxx commands work on the system configuration database. However, you can supply the file name of an alternative database using the -coption, in which case the command will be performed on that database instead.

For a detailed description of the configuration options in the database, see Chapter 4, “Configuration options”.

Digitizer console access

The command gcli allows you to pass commands directly to the digitizer's console. The syntax is:

gcli port-number[-f][-r]command

where port-number refers to the serial port connected to the digitizer. You can use serialmap to discover which serial port has which number, as described below. command is a DM24 FORTH command, which may contain

several words. For information on the commands available on the DM24, please see its own documentation.

gcli will wait for the digitizer command to finish before exiting, and will only output any response from the digitizer afterwards. If you need to issue a

command which monitors a value, you will need to connect to the digitizer's console directly using Scream! or minicom.

If you want to pass special characters to gcli, using the -foption allows you to use backslash sequences as used by the C command printf (e.g. \t = tab

December 2005

87

Image 87
Contents CMG-DCM Table of Contents December Inside the DCM Introduction CMG-DCM Inside the DCM Network services Serial port servicesSee .4, Connecting to a local network for full details Installing the CMG-DCM Power supplyOverview Connecting over a serial link Connecting to a single computer192.168.0.x Connecting over EthernetConnecting over USB Using an internal modemConnecting to a local network Gcfgdbset option-namenew-value Connecting to the Internet Wi-FiSetting up the CMG-DCM Connecting digitizers and external hardwareWeb setup Setting up digitizers Using Scream Usage General notesDCM as a data store Gnblocks port-number Page CMG-DCM DCM as a GCF data source Accessing the DCM command line through gcfout Sensor arrays DCM as a network data hub Communicating with digitizers Configuring digitizers Data storage and retrieval Using miniSEED format Real-time data transmission CD1.0 and CD1.1 Troubleshooting DCM installations Cannot see the DCMs Web site over Http or Https Cannot connect to the DCMs Scream! serverCannot Gcfping the DCMs Scream! server DCM is not receiving any data streams Can Gcfping the DCMs Scream! server, but no data appearsDCM is receiving streams, but they do not contain any data Use the Serial port configuration → port name Web page, or143032 up 34 min, load average 1.24, 1.32 General Configuration optionsDisk CMG-DCM Serial port configuration CMG-DCM Page Ethernet port Network configurationStatic routes DNS setup Incoming mail setup Outgoing mail setup Remote access Administrators PPP Mgetty Scream Data transferAutoDRM Scream! ClientHttp server Http clientCD1.0 CD1.1 CD1.1 subframe configuration DSS Server configuration Seed Page CMG-DCM Data Viewer ActionsStream list Icon barDigitizer Setup General digitizer settings Digitizer output control CMG-DCM Trigger criteria CMG-DCM Tap # Rate Bandwidth Samples/s Auxiliary Mux channels Sensor mass control Flush flash Disk toolsPartition, and format disk Check disk filesystemDisk files CameraRecent Log Entries Summary Network configurationData Out Port, Serial Port A, Serial Port B DNS configurationFlash Status Tamper linesDisk Status Software Versions Inside the DCM File systems CMG-DCM Command line tools Configuration Digitizer console access Data flow MonitoringDigitizer status Tamper lines Removing support packages Updating the DCMOver the Internet From the hard diskFirmware Libgconfigdb Data OUT port Appendix a Connector pinoutsAppendix A.1 Modular DCM units Port a and BNetwork connector USB connectorDM/AM module output Appendix A.2 Integrated DCM unitsAppendix B.1 Sensor response codes Appendix B Sensor and digitizer typesDigitizer Appendix B.2 Digitizer type codes