McIDAS-XCD Administrator's Guide
Version 2014.1

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]


Starting and Stopping McIDAS-XCD

There are two ways to start and stop running McIDAS-XCD. If you prefer to have a continuous McIDAS session running in the oper account, you may use the McIDAS-XCD STARTXCD command in your McIDAS-X session. If you prefer to configure McIDAS-XCD without a McIDAS-X session running, you may use the xcdadmin command from a Unix shell prompt. If your data source is the LDM, you should start LDM before starting McIDAS-XCD, and stop LDM after stopping McIDAS-XCD.

Using STARTXCD in a McIDAS-X Session

Use the STARTXCD command as described below to start the McIDAS-XCD software. For more information about STARTXCD, see Chapter 3, McIDAS-XCD Administrative Commands.

From a McIDAS-X session running under the oper account, start the McIDAS-XCD software with the command below.

Type: STARTXCD

Only one STARTXCD command can be run at a time. Do not include the command STARTXCD in your STARTUP.SYS file.

The STARTXCD command runs continuously in your McIDAS-X session, starting and stopping data monitors and ingestors as needed. If a data monitor or ingestor stops, STARTXCD automatically restarts it. If you cancel STARTXCD, also cancel the associated data monitors and ingestors. If you exit McIDAS-X, your decoders and ingestors will stop running.

Use the DECINFO command to activate and deactivate the data monitors. The STARTXCD process (which is continuously running) will check the status of the monitors and start or stop them accordingly.

To activate or deactivate an individual decoder within a data monitor, you must first deactivate the data monitor. Once the data monitor is no longer active, the status of the decoder(s) can be changed using the DECINFO command. Then use DECINFO to reactivate the data monitor using the new settings.

When you need to stop McIDAS-XCD, the best method is to exit the McIDAS-X session and wait for all -XCD related processes to exit.

Using xcdadmin from a Unix Shell Prompt

From a shell prompt under the oper account, start the McIDAS-XCD software with the xcdadmin command below.

Type: xcdadmin start

The xcdadmin start command runs the STARTXCD -XCD command in a mcenv session and behaves exactly as described in the section above, Using STARTXCD in a McIDAS-X Session.

When you need to stop McIDAS-XCD, run the command below from a shell prompt under the oper account to stop all -XCD related processes.

Type: xcdadmin stop

The xcdadmin stop command kills the startxcd.k process. It then waits 30 seconds for all of the -XCD data monitors to exit. At the end of the 30 seconds, it kills the remaining data monitors. You should verify that all of the data monitors were stopped, and kill the processes, if necessary.

Type: ps -ef | grep DM

Type: kill -9 process_ID

For more information about xcdadmin, including other options, see Chapter 3, McIDAS-XCD Administrative Commands.

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]