Search:
wiki:Starting_Stopping_and_Status
Last modified 20 months ago Last modified on 01/27/12 09:05:28

# Starting, Stopping and Status of Earthworm

April 9, 2010

Once the setup of the Earthworm parameter directory has been completed, Earthworm can be started up in the following way:

On Solaris:

     # cd /home/earthworm/run/params
     # source ew_sol_sparc.cmd
     # startstop

On Windows 2000:

     C:\> cd earthworm\run\params
     C:\> ew_nt.cmd
     C:\> startstop

The startstop module creates all message rings and starts up all modules. On Windows 2000 startstop can be directed to open a new console window for each module, while on Solaris each module process is started up in the background. For the duration of its operation, the Earthworm status console reports all messages received by the modules, and it can also be used to get an immediate listing on the status of all modules in the configuration. To get the status of all modules, press the Enter or Return keys in the Earthworm console window. The following is an example of a status report:

                        EARTHWORM SYSTEM STATUS

            Hostname-OS:            gldnbuffs - SunOS 5.6
            Start time (UTC):       Fri Apr  9 18:26:09 2010
            Current time (UTC):     Fri Apr  9 18:26:11 2010
            Disk space avail:       3165122 kb
            Ring  1 name/key/size:  HYPO_RING / 1015 / 1024 kb
            Startstop's Log Dir:    /export/home/earthworm/run/logs/
            Startstop's Params Dir: /export/home/earthworm/run/params/
            Startstop's Bin Dir:    /export/home/earthworm/v7.4/bin/
            Startstop Version:      v7.4n 2010-04-08

             Process  Process           Class/    CPU
              Name      Id     Status  Priority   Used  Argument
             -------  -------  ------  --------   ----  --------
           startstop    4857   Alive    TS/ 0     0:00
           trig2disk    4859   Alive    TS/ 0     0:00  trig2disk.d
           diskmgr      4860   Alive    TS/ 0     0:00  diskmgr.d
           statmgr      4861   Alive    TS/ 0     0:00  statmgr.d

       Press return to print Earthworm status, or
       type restart nnn where nnn is proc id or name to restart, or
       type quit to stop Earthworm.

To stop the Earthworm system, type quit into the Earthworm status console. The currently running Earthworm configuration can also be stopped outside of the console window using the module pau. Follow the first two steps for starting up Earthworm to source or execute the ew_sol_sparc.cmd or ew_nt.cmd files, then type pau. A similar procedure can be used to obtain the status of the Earthworm system. The module to execute in this case is called status.

### Download in other formats:

- Plain Text