/proc/self/io inside $(awk ...) resolves to the awk subprocess PID, not the parent bash shell. Use $$ (bash PID) to read the correct process IO counters. |
||
|---|---|---|
| .. | ||
| postgres | ||
| chart_values.tpl | ||
| cluster.yaml | ||
| main.tf | ||
| mysql_chart_values.yaml | ||
| versions.tf | ||
/proc/self/io inside $(awk ...) resolves to the awk subprocess PID, not the parent bash shell. Use $$ (bash PID) to read the correct process IO counters. |
||
|---|---|---|
| .. | ||
| postgres | ||
| chart_values.tpl | ||
| cluster.yaml | ||
| main.tf | ||
| mysql_chart_values.yaml | ||
| versions.tf | ||