Changes between Version 2 and Version 3 of startstop_sol


Ignore:
Timestamp:
11/15/11 17:24:30 (10 years ago)
Author:
branden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • startstop_sol

    v2 v3  
    9797 
    9898==== Shared memory setup ==== 
     99{{{ 
    99100nRing                   required 
    100101Ring                    required (nRing) 
     102}}} 
    101103 
    102104===== nRing ===== 
     
    118120 
    119121==== Startstop-specific info ==== 
     122{{{ 
    120123MyModuleId              required 
    121124HeartbeatInt            required 
     
    127130maxStatusLineLen        optional 
    128131Stderr                  optional 
     132}}} 
    129133 
    130 ===== MyModuleId ===== 
    131 MyModuleId mod_id 
     134===== !MyModuleId ===== 
     135!MyModuleId mod_id 
    132136 
    133 Sets the module id for labeling all outgoing messages. mod_id is a character string (up to 30 characters, valid strings listed in earthworm.d) that relates (in earthworm.d) to a unique single-byte number.    Startstop places its outgoing messages on the shared memory ring specified by the first "Ring" command in startstop_sol.d. 
     137Sets the module id for labeling all outgoing messages. mod_id is a character string (up to 30 characters, valid strings listed in earthworm.d) that relates (in earthworm.d) to a unique single-byte number. Startstop places its outgoing messages on the shared memory ring specified by the first "Ring" command in startstop_sol.d. 
    134138 
    135 Example:  MyModuleId MOD_STARTSTOP 
     139Example:  !MyModuleId MOD_STARTSTOP 
    136140 
    137 ===== HeartbeatInt ===== 
    138 HeartbeatInt nsec 
     141===== !HeartbeatInt ===== 
     142!HeartbeatInt nsec 
    139143 
    140144Defines the number of seconds, nsec, between TYPE_HEARTBEAT messages issued by startstop. Startstop places its heartbeats on the shared memory ring specified by the first "Ring" command in startstop_sol.d. 
    141145 
    142 Example:  HeartbeatInt 30 
     146Example:  !HeartbeatInt 30 
    143147 
    144 ===== MyClassName ===== 
    145 MyClassName class 
     148===== !MyClassName ===== 
     149!MyClassName class 
    146150 
    147151Sets the process class for startstop. class is a character string that must be set to either "RT" (for Real-Time) or "TS" (for Time- Share) on solaris. 
    148152 
    149 Example:  MyClassName RT 
     153Example:  !MyClassName RT 
    150154 
    151 ===== MyPriority ===== 
    152 MyPriority priority 
     155===== !MyPriority ===== 
     156!MyPriority priority 
    153157 
    154 Sets the process priority for startstop. See the "Class/Priority" command below for allowed values. After startstop reads its configuration file, it changes its own class/priority to the values specified in the "MyClassName" and "MyPriority" commands. 
     158Sets the process priority for startstop. See the "Class/Priority" command below for allowed values. After startstop reads its configuration file, it changes its own class/priority to the values specified in the "!MyClassName" and "!MyPriority" commands. 
    155159 
    156 Example:  MyPriority 4 
     160Example:  !MyPriority 4 
    157161 
    158 ===== LogFile ===== 
    159 LogFile switch 
     162===== !LogFile ===== 
     163!LogFile switch 
    160164 
    161165Sets the on-off switch for writing a log file to disk. If switch is 0, no log file will be written. If switch is 1, startstop will write a daily log file(s) called cfname_yyyymmdd.log where cfname is the name (without extension) of startstop's configuration file (ex: startstop_sol) and yyyymmdd is the current UTC date (ex: 19960123) on the system clock. The file(s) will be written in the EW_LOG directory (environment variable). 
    162166 
    163 Example:  LogFile 1 
     167Example:  !LogFile 1 
    164168 
    165 ===== KillDelay ===== 
    166 ===== HardKillDelay ===== 
    167 ===== maxStatusLineLen ===== 
     169===== !KillDelay ===== 
     170!KillDelay nsec 
     171 
     172Gives the number of seconds nsec that startstop will wait for modules to shutdown gracefully on termination. After this delay, startstop will force modules to shut down with the TERM signal. If module still does not stop after nsec seconds, behavior is determined by the "!HardKillDelay" command. 
     173 
     174Example:  !KillDelay 10 
     175 
     176===== !HardKillDelay ===== 
     177===== !maxStatusLineLen ===== 
    168178===== Stderr ===== 
    169179 
    170180==== Earthworm modules to run ==== 
     181{{{ 
    171182Process                 required \ 
    172183Class/Priority          required  |  one set 
    173184Stderr                  optional  | per module 
    174185Agent                   optional / 
     186}}} 
    175187 
    176188===== Process =====