SQWareProduction:oracle:etc:.profile confort : Différence entre versions

De WikiFr_dbSQWare
Aller à : navigation, rechercher
m (Updated by BatchUser)
m (Updated by BatchUser)
Ligne 5 : Ligne 5 :
 
<pre>
 
<pre>
 
  put => "echo $gvsqw_EchoOpt '\033]0;${gvsqw_UserExec}@$gvsqw_Hostname      $gvsqw_Env  ${ORACLE_SID}  ${gvsqw_DB_UNIQUE_NAME}:${gvsqw_HOST_UNIQUE_NAME} ${gvsqw_TermInfo} (dbSQWare v$gvsqw_SqwVersion)\033\\'"
 
  put => "echo $gvsqw_EchoOpt '\033]0;${gvsqw_UserExec}@$gvsqw_Hostname      $gvsqw_Env  ${ORACLE_SID}  ${gvsqw_DB_UNIQUE_NAME}:${gvsqw_HOST_UNIQUE_NAME} ${gvsqw_TermInfo} (dbSQWare v$gvsqw_SqwVersion)\033\\'"
  lsora => 'ps -edf|grep pmon|grep -v grep'
+
  lsora => 'ps -edf|grep "[p]mon"'
 
  menu_rman => "$gvsqw_OraBin/../menu/sqwora_MenuRman.ksh"
 
  menu_rman => "$gvsqw_OraBin/../menu/sqwora_MenuRman.ksh"
 
  sqwarchmon => "$gvsqw_OraBin/sqwora_SqwArchmon.ksh"
 
  sqwarchmon => "$gvsqw_OraBin/sqwora_SqwArchmon.ksh"
Ligne 23 : Ligne 23 :
 
  dbs => 'cd $ORACLE_HOME/dbs; ls -al';
 
  dbs => 'cd $ORACLE_HOME/dbs; ls -al';
 
  tns => 'cd $ORACLE_HOME/network/admin; ls -al';
 
  tns => 'cd $ORACLE_HOME/network/admin; ls -al';
 +
alt => '$gvsqw_OraBin/../tools/sqwora_GetAlertFile.ksh'
 
  psid => 'ps -fu $(id | cut -d\) -f1 | cut -d\( -f2)'
 
  psid => 'ps -fu $(id | cut -d\) -f1 | cut -d\( -f2)'
 
</pre>
 
</pre>
 
<br>
 
<br>

Version du 25 juillet 2022 à 08:43

Fichier pour mettre les aliases $gvsqw_OraBin/../etc/.profile_confort:
Contenu des aliases de confort de SQWareProduction pour oracle.

Explication des alias:

 put => "echo $gvsqw_EchoOpt '\033]0;${gvsqw_UserExec}@$gvsqw_Hostname      $gvsqw_Env   ${ORACLE_SID}   ${gvsqw_DB_UNIQUE_NAME}:${gvsqw_HOST_UNIQUE_NAME} ${gvsqw_TermInfo} (dbSQWare v$gvsqw_SqwVersion)\033\\'"
 lsora => 'ps -edf|grep "[p]mon"'
 menu_rman => "$gvsqw_OraBin/../menu/sqwora_MenuRman.ksh"
 sqwarchmon => "$gvsqw_OraBin/sqwora_SqwArchmon.ksh"
 SqwArchmon => "$gvsqw_OraBin/sqwora_SqwArchmon.ksh"
 rma => 'cd $gvsqw_RootRman; ls -al';
 arc => 'cd $gvsqw_RootArch; ls -al';
 dmp => 'cd $gvsqw_RootExp; ls -al';
 dmpdp => 'cd $gvsqw_RootExpdp; ls -al';
 adump => 'cd $gvsqw_RootAdmin/adump; ls -ltr';
 bdump => 'cd $gvsqw_RootAdmin/bdump; ls -ltr';
 cdump => 'cd $gvsqw_RootAdmin/cdump; ls -ltr';
 ddump => 'cd $gvsqw_RootAdmin/ddump; ls -ltr';
 udump => 'cd $gvsqw_RootAdmin/udump; ls -ltr';
 dbf => 'cd $gvsqw_RootDbf; ls -al';
 ob => 'cd $ORACLE_BASE; ls -al';
 oh => 'cd $ORACLE_HOME; ls -al';
 dbs => 'cd $ORACLE_HOME/dbs; ls -al';
 tns => 'cd $ORACLE_HOME/network/admin; ls -al';
 alt => '$gvsqw_OraBin/../tools/sqwora_GetAlertFile.ksh'
 psid => 'ps -fu $(id | cut -d\) -f1 | cut -d\( -f2)'