crash执行shell脚本 2018-08-05 23:39:00 crash执行shell脚本 1 2 3 4 5 crash> kmem -S TCP > /tmp/slabinfo [root@vm1 ~]# cat /tmp/slabinfo | grep '\[fff' | awk -F[ '{print $2}' | awk -F] '{print "sock "$1" | grep skc_portpair >> /tmp/sock"}' > /tmp/sock.sh crash> < /tmp/sock.sh