Difference between revisions of "SQWareProduction:mysql:etc:.profile confort"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 4: | Line 4: | ||
Alias explanation: | Alias explanation: | ||
<pre> | <pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
dmp => 'cd $gvsqw_RootDump; ls -al'; | dmp => 'cd $gvsqw_RootDump; ls -al'; | ||
dbf => 'cd $gvsqw_RootDbf; ls -al'; | dbf => 'cd $gvsqw_RootDbf; ls -al'; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
my => "mysql $gvsqw_ConnectString" | my => "mysql $gvsqw_ConnectString" | ||
CFG => 'cd $MYSQL_HOME;vi -R my.cnf' | CFG => 'cd $MYSQL_HOME;vi -R my.cnf' | ||
Line 39: | Line 13: | ||
mysp => 'my -e "show processlist"' | mysp => 'my -e "show processlist"' | ||
mysd => 'echo "# Liste des bases sur $MYSQL_SID" ; my -s -N -e "show databases";' | mysd => 'echo "# Liste des bases sur $MYSQL_SID" ; my -s -N -e "show databases";' | ||
− | |||
− | |||
− | |||
cdm => 'cd $MYSQL_HOME' | cdm => 'cd $MYSQL_HOME' | ||
</pre> | </pre> | ||
<br> | <br> |
Revision as of 17:33, 5 April 2014
File to put aliases $gvsqw_MysBin/../etc/.profile_confort:
Contains confort aliases of SQWareProduction for RDBMS mysql.
Alias explanation:
dmp => 'cd $gvsqw_RootDump; ls -al'; dbf => 'cd $gvsqw_RootDbf; ls -al'; my => "mysql $gvsqw_ConnectString" CFG => 'cd $MYSQL_HOME;vi -R my.cnf' memcfg => 'cd $MEM_HOME; vi -R etc/mysql-monitor-agent.ini' err => 'cd $MYSQL_HOME/log; tail -100 $MYSQL_SID.error.log' memerr => 'cd $MEM_HOME; tail -100 mysql-monitor-agent.$MYSQL_SID.log' mysp => 'my -e "show processlist"' mysd => 'echo "# Liste des bases sur $MYSQL_SID" ; my -s -N -e "show databases";' cdm => 'cd $MYSQL_HOME'