commit
7cbcb91ef6
3 changed files with 18 additions and 78 deletions
71
FEATURES.md
71
FEATURES.md
|
@ -2,58 +2,11 @@ Features list for option: --feature (dev only)
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
* arr2hash
|
|
||||||
* badprint
|
|
||||||
* calculations
|
* calculations
|
||||||
* check_architecture
|
|
||||||
* check_metadata_perf
|
|
||||||
* check_storage_engines
|
|
||||||
* close_outputfile
|
|
||||||
* cmdprint
|
|
||||||
* compare_tuner_version
|
* compare_tuner_version
|
||||||
* cpu_cores
|
* cpu_cores
|
||||||
* cve_recommendations
|
* cve_recommendations
|
||||||
* debugprint
|
|
||||||
* dump_result
|
|
||||||
* file2array
|
|
||||||
* file2string
|
|
||||||
* get_all_vars
|
|
||||||
* get_basic_passwords
|
|
||||||
* get_file_contents
|
|
||||||
* get_fs_info
|
|
||||||
* get_gcache_memory
|
|
||||||
* get_http_cli
|
|
||||||
* get_kernel_info
|
|
||||||
* get_log_file_real_path
|
|
||||||
* get_opened_ports
|
|
||||||
* get_os_release
|
|
||||||
* get_other_process_memory
|
|
||||||
* get_pf_memory
|
|
||||||
* get_process_memory
|
|
||||||
* get_replication_status
|
|
||||||
* get_system_info
|
|
||||||
* get_tuning_info
|
|
||||||
* get_wsrep_option
|
|
||||||
* get_wsrep_options
|
|
||||||
* goodprint
|
|
||||||
* greenwrap
|
|
||||||
* grep_file_contents
|
* grep_file_contents
|
||||||
* headerprint
|
|
||||||
* hr_bytes
|
|
||||||
* hr_bytes_rnd
|
|
||||||
* hr_num
|
|
||||||
* hr_raw
|
|
||||||
* human_size
|
|
||||||
* infocmd
|
|
||||||
* infocmd_one
|
|
||||||
* infocmd_tab
|
|
||||||
* infoprint
|
|
||||||
* infoprintcmd
|
|
||||||
* infoprinthcmd
|
|
||||||
* infoprintml
|
|
||||||
* is_open_port
|
|
||||||
* is_remote()
|
|
||||||
* is_virtual_machine
|
|
||||||
* log_file_recommendations
|
* log_file_recommendations
|
||||||
* make_recommendations
|
* make_recommendations
|
||||||
* mariadb_aria
|
* mariadb_aria
|
||||||
|
@ -64,7 +17,6 @@ Features list for option: --feature (dev only)
|
||||||
* mariadb_threadpool
|
* mariadb_threadpool
|
||||||
* mariadb_tokudb
|
* mariadb_tokudb
|
||||||
* mariadb_xtradb
|
* mariadb_xtradb
|
||||||
* memerror
|
|
||||||
* merge_hash
|
* merge_hash
|
||||||
* mysql_databases
|
* mysql_databases
|
||||||
* mysql_indexes
|
* mysql_indexes
|
||||||
|
@ -81,32 +33,9 @@ Features list for option: --feature (dev only)
|
||||||
* mysql_version_le
|
* mysql_version_le
|
||||||
* mysql_views
|
* mysql_views
|
||||||
* os_setup
|
* os_setup
|
||||||
* percentage
|
|
||||||
* pretty_uptime
|
* pretty_uptime
|
||||||
* prettyprint
|
|
||||||
* redwrap
|
|
||||||
* remove_cr
|
|
||||||
* remove_empty
|
|
||||||
* security_recommendations
|
* security_recommendations
|
||||||
* select_array
|
|
||||||
* select_array_with_headers
|
|
||||||
* select_csv_file
|
|
||||||
* select_indexes_db
|
|
||||||
* select_one
|
|
||||||
* select_one_g
|
|
||||||
* select_routines_db
|
|
||||||
* select_str_g
|
|
||||||
* select_table_columns_db
|
|
||||||
* select_table_indexes_db
|
|
||||||
* select_tables_db
|
|
||||||
* select_triggers_db
|
|
||||||
* select_user_dbs
|
|
||||||
* select_views_db
|
|
||||||
* string2file
|
|
||||||
* subheaderprint
|
|
||||||
* system_recommendations
|
* system_recommendations
|
||||||
* trim
|
|
||||||
* update_tuner_version
|
* update_tuner_version
|
||||||
* validate_mysql_version
|
* validate_mysql_version
|
||||||
* validate_tuner_version
|
* validate_tuner_version
|
||||||
* which
|
|
||||||
|
|
13
build/genFeatures.sh
Normal file
13
build/genFeatures.sh
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Update Feature list
|
||||||
|
(
|
||||||
|
export LANG=C
|
||||||
|
echo -e "Features list for option: --feature (dev only)\n---\n\n"
|
||||||
|
grep -E '^sub ' ../mysqltuner.pl | \
|
||||||
|
perl -pe 's/sub //;s/\s*\{//g' | \
|
||||||
|
sort -n | \
|
||||||
|
perl -pe 's/^/* /g' | \
|
||||||
|
grep -vE '(get_|close_|check_|memerror|human_size|string2file|file2|arr2|dump|which|percentage|trim|is_|hr_|info|print|select|wrap|remove_)'
|
||||||
|
) > ../FEATURES.md
|
||||||
|
cat ../FEATURES.md
|
|
@ -11,12 +11,10 @@ perl updateCVElist.pl
|
||||||
dos2unix ../mysqltuner.pl
|
dos2unix ../mysqltuner.pl
|
||||||
|
|
||||||
# Update Feature list
|
# Update Feature list
|
||||||
(
|
bash ./genFeatures.sh
|
||||||
echo -e "Features list for option: --feature (dev only)\n---\n\n"
|
|
||||||
grep -E '^sub ' ../mysqltuner.pl | perl -pe 's/sub //;s/\s*\{//g'| sort -n | perl -pe 's/^/* /g'
|
|
||||||
) > ../FEATURES.md
|
|
||||||
|
|
||||||
git add ../vulnerabilities.csv ../mysqltuner.pl ../USAGE.md ../FEATURES.md
|
git add ../vulnerabilities.csv ../mysqltuner.pl ../USAGE.md ../FEATURES.md
|
||||||
#git commit -m 'Update Vulnerabilities list
|
git commit -m 'Update Vulnerabilities list
|
||||||
#Indenting mysqltuner
|
Indenting mysqltuner
|
||||||
#Update Usage information'
|
Update Usage information
|
||||||
|
Regenerate fetures list'
|
||||||
|
|
Loading…
Reference in a new issue