shell94统计TCP的链接状态

watch -n1 脚本:实时统计(以间隔1秒钟的时间执行)

Ctrl+V,选择,然后按y,赋值的就是选择的内容

 while统计

原文地址:https://www.cnblogs.com/jingzaixin/p/12498652.html