performancecopilot / xsos-pcp

Performance Co-Pilot xsos-inspired script for fast sosreport diagnostics
2 stars 3 forks source link

pcp-xsos: remove gawk dependencies #14

Closed kmcdonell closed 1 month ago

kmcdonell commented 1 month ago

Rework the @include fragments to use Posix-compatible awk syntax.

We can now use $PCP_AWK_PROG and avoid mentioning gawk in the script bacause the script no longer uses gawk extensions beyond the standard awk language.

Some minor date(1) tweaks, but the script will need further changes here for non-Linux systems, although date(1) changes are moot given that even larger changes would be required to accommodate differences in available metrics on different platforms.