mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 13:40:07 +00:00
14 lines
568 B
Bash
Executable File
14 lines
568 B
Bash
Executable File
#!/bin/bash
|
|
#parse_ip_s_link /tmp/percona-toolkit
|
|
|
|
cat <<EOF > $1
|
|
interface rx_bytes rx_packets rx_errors tx_bytes tx_packets tx_errors
|
|
========= ========= ========== ========== ========== ========== ==========
|
|
lo 3500000000 350000000 0 3500000000 350000000 0
|
|
eth0 1750000000 1250000000 0 3500000000 700000000 0
|
|
eth1 1250000000 60000000 0 900000000 50000000 0
|
|
sit0 0 0 0 0 0 0
|
|
EOF
|
|
|
|
cat samples/ip-s-link-002.txt > $2
|