LSOF 安装与使用(功能强大)

linux上安装:

tar zxvf lsof_4.76.tar.gz

cd lsof_4.76

ls

00.README.FIRST_4.76       lsof_4.76_src.tar.gz        README.lsof_4.76
       lsof_4.76_src.tar.sig              RELEASE.SUMMARY_4.76


gunzip  lsof_4.76_src.tar.gz

cd  lsof_4.76_src

ls

00CREDITS   00PORTING        arg.c      dlsof.h  dproto.h   lsof           main.c    print.c  store.c
00DCACHE    00QUICKSTART     arg.o      dmnt.c   dsock.c    lsof.8         main.o    print.o  store.o
00DIALECTS  00README         Configure  dmnt.o   dsock.o    lsof_fields.h  Makefile  proc.c   tests
00DIST      00.README.FIRST  Customize  dnode.c  dstore.c   lsof.h         misc.c    proc.o   usage.c
00FAQ       00TEST           dfile.c    dnode.o  dstore.o   lsof.man       misc.o    proto.h  usage.o
00LSOF-L    00XCONFIG        dfile.o    dproc.c  Inventory  machine.h      node.c    regex.h  version
00MANIFEST  AFSConfig        dialects   dproc.o  lib        machine.h.old  node.o    scripts  version.h


./Configure linux

yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

make

cp  lsof /bin/lsof


install end .............................................................  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


另:如果你的linux空间没有被释放。则    lsof |grep deleted

kill 掉以上进程。但是比较重要的服务,这个操作要注意了,否则有可能导致某些服务不能用,这时候,这种情况,请看我另一个文章吧 .......

http://blog.csdn.net/miltonzhong/article/details/8845197




  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值