| 11月 14th, 2007

あるポートで動いているプロセスを調べるには lsof とか使いますが、それをsedで余分なもの取り除いて kill の引数にすればおk

kill -9 `/usr/sbin/lsof -Fp -i:5000|sed 's/p//'`

There are no comments yet, add one below.

Comments are closed.

Leave a Comment


download the hurt locker  
UA-682965-1