ident fix
This commit is contained in:
commit
709da2cc95
5 changed files with 1050 additions and 483 deletions
18
.travis.yml
18
.travis.yml
|
@ -14,14 +14,14 @@ perl:
|
|||
matrix:
|
||||
include:
|
||||
- addons:
|
||||
mariadb: 5.5
|
||||
perl: 5.20
|
||||
mariadb: "5.5"
|
||||
perl: "5.20"
|
||||
- addons:
|
||||
mariadb: 10.0
|
||||
perl: 5.20
|
||||
- addons:
|
||||
mariadb: 10.1
|
||||
perl: 5.20
|
||||
mariadb: "10.0"
|
||||
perl: "5.20"
|
||||
# - addons:
|
||||
# mariadb: "10.1"
|
||||
# perl: "5.20"
|
||||
|
||||
before_install:
|
||||
- git clone git://github.com/haarg/perl-travis-helper
|
||||
|
@ -35,4 +35,6 @@ install:
|
|||
- cpanm --quiet --notest JSON
|
||||
|
||||
script:
|
||||
- ./mysqltuner.pl -idxstat --dbstat
|
||||
- echo -e "[client]\nuser=root\npassword=\"\"" > .my.cnf
|
||||
- chmod 600 .my.cnf
|
||||
- ./mysqltuner.pl --idxstat --dbstat
|
||||
|
|
|
@ -70,6 +70,12 @@
|
|||
* Check 80, 8080, 443 and 8443 ports if warning are raised if there are opened
|
||||
* Check if some banned ports are not opened (option --bannedports separated by comma)
|
||||
* Check if non kernel and user process except mysqld are not using more than 15% of total physical memory)
|
||||
* Check vm.swapiness
|
||||
* Check /etc/security/limit.conf
|
||||
* Check sysctl entries: sunrpc.tcp_slot_entries, vm.swappiness, fs.aio-fs-nr
|
||||
* Check mount point
|
||||
* Check Ethernet card
|
||||
* Check load average
|
||||
|
||||
## MySQLTuner Server version checks
|
||||
* EOL MySQL version check
|
||||
|
|
|
@ -62,7 +62,7 @@ __Usage:__ Minimal usage locally
|
|||
|
||||
__Usage:__ Minimal usage remotely
|
||||
|
||||
perl mysqltuner.pl --host targetDNS_IP --user admin_user --password admin_password
|
||||
perl mysqltuner.pl --host targetDNS_IP --user admin_user --pass admin_password
|
||||
|
||||
__Usage:__ Enable maximum output information around MySQL/MariaDb without debugging
|
||||
|
||||
|
|
51
USAGE.md
51
USAGE.md
|
@ -1,6 +1,6 @@
|
|||
# NAME
|
||||
|
||||
MySQLTuner 1.6.4 - MySQL High Performance Tuning Script
|
||||
MySQLTuner 1.6.8 - MySQL High Performance Tuning Script
|
||||
|
||||
# IMPORTANT USAGE GUIDELINES
|
||||
|
||||
|
@ -21,32 +21,35 @@ You must provide the remote server's total memory when connecting to other serve
|
|||
|
||||
# PERFORMANCE AND REPORTING OPTIONS
|
||||
|
||||
--skipsize Don't enumerate tables and their types/sizes (default: on)
|
||||
(Recommended for servers with many tables)
|
||||
--skippassword Don't perform checks on user passwords(default: off)
|
||||
--checkversion Check for updates to MySQLTuner (default: don't check)
|
||||
--forcemem <size> Amount of RAM installed in megabytes
|
||||
--forceswap <size> Amount of swap memory configured in megabytes
|
||||
--passwordfile <path>Path to a password file list(one password by line)
|
||||
--skipsize Don't enumerate tables and their types/sizes (default: on)
|
||||
(Recommended for servers with many tables)
|
||||
--skippassword Don't perform checks on user passwords(default: off)
|
||||
--checkversion Check for updates to MySQLTuner (default: don't check)
|
||||
--updateversion Check for updates to MySQLTuner and update when newer version is available (default: don't check)
|
||||
--forcemem <size> Amount of RAM installed in megabytes
|
||||
--forceswap <size> Amount of swap memory configured in megabytes
|
||||
--passwordfile <path> Path to a password file list(one password by line)
|
||||
|
||||
# OUTPUT OPTIONS
|
||||
|
||||
--silent Don't output anything on screen
|
||||
--nogood Remove OK responses
|
||||
--nobad Remove negative/suggestion responses
|
||||
--noinfo Remove informational responses
|
||||
--debug Print debug information
|
||||
--dbstat Print database information
|
||||
--idxstat Print index information
|
||||
--cvefile CVE File for vulnerability checks
|
||||
--nocolor Don't print output in color
|
||||
--json Print result as JSON string
|
||||
--buffers Print global and per-thread buffer values
|
||||
--outputfile <path> Path to a output txt file
|
||||
--reportfile <path> Path to a report txt file
|
||||
--template <path> Path to a template file
|
||||
|
||||
# PERLDOC
|
||||
--silent Don't output anything on screen
|
||||
--nogood Remove OK responses
|
||||
--nobad Remove negative/suggestion responses
|
||||
--noinfo Remove informational responses
|
||||
--debug Print debug information
|
||||
--dbstat Print database information
|
||||
--idxstat Print index information
|
||||
--bannedports Ports banned separated by comma(,)
|
||||
--maxportallowed Number of ports opened allowed on this hosts
|
||||
--cvefile CVE File for vulnerability checks
|
||||
--nocolor Don't print output in color
|
||||
--json Print result as JSON string
|
||||
--buffers Print global and per-thread buffer values
|
||||
--outputfile <path> Path to a output txt file
|
||||
--reportfile <path> Path to a report txt file
|
||||
--template <path> Path to a template file
|
||||
--verbose Prints out all options (default: no verbose)
|
||||
=head1 PERLDOC
|
||||
|
||||
You can find documentation for this module with the perldoc command.
|
||||
|
||||
|
|
1422
mysqltuner.pl
1422
mysqltuner.pl
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue