./pt-summary: line 2262: STATUS_THP_SYSTEM: unbound variable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Committed
|
Medium
|
Carlos Salguero |
Bug Description
pt-summary will report unbound variable on RHEL type of systems:
./pt-summary: line 2262: STATUS_THP_SYSTEM: unbound variable
report_
if [ -f /sys/kernel/
CONTENT_
STATUS_
fi
if [ $STATUS_THP_SYSTEM = 0 ]; then
echo "Transparent huge pages are currently disabled on the system."
else
echo "Transparent huge pages are enabled."
fi
}
Above function will test if /sys/kernel/
Changed in percona-toolkit: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Carlos Salguero (carlos-salguero) |
milestone: | none → 2.2.21 |
Changed in percona-toolkit: | |
status: | Triaged → In Progress |
I created a fix for this issue https:/ /github. com/percona/ percona- toolkit/ pull/159