Skip to content

Commit

Permalink
eks-log-script ipvs-info label
Browse files Browse the repository at this point in the history
  • Loading branch information
AbeOwlu committed Jun 5, 2024
1 parent ae835ab commit 7278db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log-collector-script/linux/eks-log-collector.sh
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ get_iptables_info() {
else
## check that ip_vs module is loaded in get_modinfo()
try "collect ipvs information"
ipvsadm --save | tee -a "${COLLECT_DIR}"/networking/ipvsadm-save.txt
ipvsadm --save | tee -a "${COLLECT_DIR}"/networking/ipvsadm.txt && sed -i '1s/^/add \tproto \tvirt-server \tscheduler algthm \treal-server \n/' "${COLLECT_DIR}"/networking/ipvsadm.txt
ipvsadm --list --numeric --rate | tee -a "${COLLECT_DIR}"/networking/ipvsadm.txt
ok -e "\n" | tee -a "${COLLECT_DIR}"/networking/ipvsadm.txt
ipvsadm --list --numeric --stats --exact | tee -a "${COLLECT_DIR}"/networking/ipvsadm.txt
Expand Down

0 comments on commit 7278db7

Please sign in to comment.