那我不知道了。lsof慢死了
还不如简单粗暴呢
ps -f -u bbs|awk '$1~/bbs/ && $0~/bbsd/ && $0!~/bbsd:/ && $0!~/grep/ && $0!~/awk/ && $0!~/startbbsd/&& $0!~/sshbbsd/ && $0!~/innbbsd/ {system(sprintf("kill -TERM %s",$2))};'
【 在 Dog@bbs.tongji.edu.cn-SPAM.no (Laolin·欢欢喜喜乐逍遥) 的大作中提到: 】
: 是不是几年前没有pid文件?
: 那个lsof我第一次看到的还是几年前atppp在这个版面发的
--
FROM 221.218.132.*