Template:SQWareProduction sqwmys RotateLogSlowQuery.ksh help: Difference between revisions
Jump to navigation
Jump to search
m Updated by BatchUser |
m Updated by BatchUser |
||
| Line 1: | Line 1: | ||
<pre> | <pre> | ||
Sourcing sqwmys_Global.lib v4.0. | Sourcing sqwmys_Global.lib v4.0.06 SQWareProduction for MySQL (dbSQWare) ... | ||
Usage: sqwmys_RotateLogSlowQuery.ksh [-h] -I instance [+ options] | Usage: sqwmys_RotateLogSlowQuery.ksh [-h] -I instance [+ options] | ||
Revision as of 19:53, 17 June 2018
Sourcing sqwmys_Global.lib v4.0.06 SQWareProduction for MySQL (dbSQWare) ...
Usage: sqwmys_RotateLogSlowQuery.ksh [-h] -I instance [+ options]
DESCRIPTION
sqwmys_RotateLogSlowQuery.ksh rotate slow_query_log_file
SUPPORT
MySql supported versions: 5.0 <= v <= 5.7
PARAMETERS
-I instance : Target instance for rotation.
OPTIONS
-h help : Display the full usage.
-s : Display samples of usage.
-FRT return_code : Force return code value on error.
-AddMail email : Email Address to add at 'pmexpdba@gmail.com'.
-SendReport : Send execution log report.
-Local : Don't copy slow_query_log_file on dbsqware@SQWareWebHost (or set gvsqw_LocalSlowQuery to yes).
-NoMail : Desactivate sendmail on error pmexpdba@gmail.com (by default, send on error).