mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-27 07:54:58 +00:00
PT-2340 - Support MySQL 8.4
- Moved data collection for THP from lib/bash/report_system_info.sh to lib/bash/collect_system_info.sh, so pt-summary reports THP status on the machine where samples were collected, not on the machine where an engineer examines samples.
This commit is contained in:
@@ -137,6 +137,9 @@ collect_system_data () { local PTFUNCNAME=collect_system_data;
|
||||
# Fusion-io cards
|
||||
fio_status_minus_a "$data_dir/fusion-io_card"
|
||||
|
||||
# THP
|
||||
cat /sys/kernel/mm/transparent_hugepage/enabled >"$data_dir/transparent_hugepage" 2>/dev/null
|
||||
|
||||
# Clean the data directory, don't leave empty files
|
||||
for file in $data_dir/*; do
|
||||
# The vmstat file gets special treatmeant, see above.
|
||||
|
Reference in New Issue
Block a user