awk 命令

-F 参数是指定分割符号、默认分割符号为\t     table

$0 是一行

$1 是第一个参数


netstat -antup | grep 10000  | awk  '{print $7}' | awk  -F"/" '{print $1}'