@ -82,25 +82,25 @@ Il y a cependant une spécificite pour SH_RETENTION_CPT et SH_RETENTION_LOG:
@@ -82,25 +82,25 @@ Il y a cependant une spécificite pour SH_RETENTION_CPT et SH_RETENTION_LOG:
### 1 - Variables globales générales
+-------------------+----------------------------+
| Nom | Usage |
+-------------------+----------------------------+
| NC_EXPL_ROOT | Racine /opt/expl |
| EXPL_ROOT | Alias pour NC_EXPL_ROOT |
| NC_EXPL_BIN | Pointe vers {Racine}/bin |
| NC_EXPL_CFG | Pointe vers {Racine}/conf |
| NC_EXPL_CPT | Pointe vers {Racine}/cpt |
| NC_EXPL_DAT | Pointe vers {Racine}/dat |
| NC_EXPL_HST | Pointe vers {Racine}/hist |
| NC_EXPL_LIB | Pointe vers {Racine}/lib |
| NC_EXPL_LOG | Pointe vers {Racine}/log |
| NC_EXPL_MAN | Pointe vers {Racine}/man |
| NC_EXPL_MOD | Pointe vers {Racine}/mod |
| NC_EXPL_MSG | Pointe vers {Racine}/msg |
| NC_EXPL_TMP | Pointe vers {Racine}/tmp |
| RUBYLIB | vaut ${NC_EXPL_LIB} |
| NC_EXPL_SRVBATCH | Nom du serveur Batch |
+-------------------+----------------------------+
> +-------------------+----------------------------+
> | Nom | Usage |
> +-------------------+----------------------------+
> | NC_EXPL_ROOT | Racine /opt/expl |
> | EXPL_ROOT | Alias pour NC_EXPL_ROOT |
> | NC_EXPL_BIN | Pointe vers {Racine}/bin |
> | NC_EXPL_CFG | Pointe vers {Racine}/conf |
> | NC_EXPL_CPT | Pointe vers {Racine}/cpt |
> | NC_EXPL_DAT | Pointe vers {Racine}/dat |
> | NC_EXPL_HST | Pointe vers {Racine}/hist |
> | NC_EXPL_LIB | Pointe vers {Racine}/lib |
> | NC_EXPL_LOG | Pointe vers {Racine}/log |
> | NC_EXPL_MAN | Pointe vers {Racine}/man |
> | NC_EXPL_MOD | Pointe vers {Racine}/mod |
> | NC_EXPL_MSG | Pointe vers {Racine}/msg |
> | NC_EXPL_TMP | Pointe vers {Racine}/tmp |
> | RUBYLIB | vaut ${NC_EXPL_LIB} |
> | NC_EXPL_SRVBATCH | Nom du serveur Batch |
> +-------------------+----------------------------+
Les variables NC_EXPL_ROOT, EXPL_ROOT et NC_EXPL_SRVBATCH sont définies dans le fichier "tetalab.sh"
Les autres variables NC_* sont définies dans le fichier "profile_init.env"
@ -110,26 +110,26 @@ Les autres variables NC_* sont définies dans le fichier "profile_init.env"
@@ -110,26 +110,26 @@ Les autres variables NC_* sont définies dans le fichier "profile_init.env"
Cette liste n'est pas exhaustive, seules les principales variables sont citées.
+--------------------+-------------------------------------------------------------------------------+
| Nom | Usage |
+--------------------+-------------------------------------------------------------------------------+
| SH_SESSION_ID | Numero unique d'exécution : < TimeStamp > _< PID > |
| SH_SILENCE | Active ou non l'affichage des messages via fct_message. Par defaut vaut "non" |
| SH_PROG | Nom du script |
| SH_LOGUSER | Compte initial de connexion au serveur |
| SH_EXECUSER | Compte courant exécutant le script |
| SH_DIR | Dossier hébergeant le script |
| SH_PROG_VERSION | Version du script |
| SH_FICTRC | Pointe vers le fichier ${NC_EXPL_HST}/< Nom_du_script > .hist |
| SH_FICMSG | Pointe vers le fichier ${NC_EXPL_MSG}/< Nom_du_script > .msg |
| SH_FICCFG | Pointe vers le fichier ${NC_EXPL_CFG}/< Nom_du_script > .conf |
| SH_FICSEM | Pointe vers le fichier /dev/shm/< Nom_du_script > .sem |
| SH_FICLOG | Pointe vers le fichier ${NC_EXPL_LOG}/< Nom_du_script > .log |
| SH_FICCPT | Pointe vers le fichier ${NC_EXPL_CPT}/< Nom_du_script > .cpt |
| SH_NIV_DEBUG | Vaut 0 par défaut. Niveau d'affichage dans les fichiers de traces |
| SH_RETENTION_CPT | Vaut 8 par défaut. Duree de rétention en jours des fichiers de compte-rendus |
| SH_RETENTION_LOG | Vaut 8 par défaut. Duree de rétention en jours des fichiers de traces |
+--------------------+-------------------------------------------------------------------------------+
> +--------------------+-------------------------------------------------------------------------------+
> | Nom | Usage |
> +--------------------+-------------------------------------------------------------------------------+
> | SH_SESSION_ID | Numero unique d'exécution : < TimeStamp > _< PID > |
> | SH_SILENCE | Active ou non l'affichage des messages via fct_message. Par defaut vaut "non" |
> | SH_PROG | Nom du script |
> | SH_LOGUSER | Compte initial de connexion au serveur |
> | SH_EXECUSER | Compte courant exécutant le script |
> | SH_DIR | Dossier hébergeant le script |
> | SH_PROG_VERSION | Version du script |
> | SH_FICTRC | Pointe vers le fichier ${NC_EXPL_HST}/< Nom_du_script > .hist |
> | SH_FICMSG | Pointe vers le fichier ${NC_EXPL_MSG}/< Nom_du_script > .msg |
> | SH_FICCFG | Pointe vers le fichier ${NC_EXPL_CFG}/< Nom_du_script > .conf |
> | SH_FICSEM | Pointe vers le fichier /dev/shm/< Nom_du_script > .sem |
> | SH_FICLOG | Pointe vers le fichier ${NC_EXPL_LOG}/< Nom_du_script > .log |
> | SH_FICCPT | Pointe vers le fichier ${NC_EXPL_CPT}/< Nom_du_script > .cpt |
> | SH_NIV_DEBUG | Vaut 0 par défaut. Niveau d'affichage dans les fichiers de traces |
> | SH_RETENTION_CPT | Vaut 8 par défaut. Duree de rétention en jours des fichiers de compte-rendus |
> | SH_RETENTION_LOG | Vaut 8 par défaut. Duree de rétention en jours des fichiers de traces |
> +--------------------+-------------------------------------------------------------------------------+
Remarque : Les variables SH_SILENCE et SH_NIV_DEBUG sont controlées par les options "-s" et "-dbg"
si la gestion des options a été activée.