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
|
||||
* check_architecture
|
||||
* check_metadata_perf
|
||||
* check_storage_engines
|
||||
* close_outputfile
|
||||
* cmdprint
|
||||
* compare_tuner_version
|
||||
* cpu_cores
|
||||
* 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
|
||||
* 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
|
||||
* make_recommendations
|
||||
* mariadb_aria
|
||||
|
@ -64,7 +17,6 @@ Features list for option: --feature (dev only)
|
|||
* mariadb_threadpool
|
||||
* mariadb_tokudb
|
||||
* mariadb_xtradb
|
||||
* memerror
|
||||
* merge_hash
|
||||
* mysql_databases
|
||||
* mysql_indexes
|
||||
|
@ -81,32 +33,9 @@ Features list for option: --feature (dev only)
|
|||
* mysql_version_le
|
||||
* mysql_views
|
||||
* os_setup
|
||||
* percentage
|
||||
* pretty_uptime
|
||||
* prettyprint
|
||||
* redwrap
|
||||
* remove_cr
|
||||
* remove_empty
|
||||
* 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
|
||||
* trim
|
||||
* update_tuner_version
|
||||
* validate_mysql_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
|
||||
|
||||
# Update Feature list
|
||||
(
|
||||
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
|
||||
bash ./genFeatures.sh
|
||||
|
||||
git add ../vulnerabilities.csv ../mysqltuner.pl ../USAGE.md ../FEATURES.md
|
||||
#git commit -m 'Update Vulnerabilities list
|
||||
#Indenting mysqltuner
|
||||
#Update Usage information'
|
||||
git commit -m 'Update Vulnerabilities list
|
||||
Indenting mysqltuner
|
||||
Update Usage information
|
||||
Regenerate fetures list'
|
||||
|
|
Loading…
Reference in a new issue