Files
2026-08-20 06:17:39 +08:00

9 lines
184 B
Bash
Executable File

#!/bin/bash
set -o nounset # Treat unset variables as an error
set -e
if [ -e "$1" ]
then
awk '/tc state/ {print $5,$8,$11}' "$1" > state_data.log
fi