HP-UX 下bdf 与 du 看的大小不一致

bdf inconsistent with du on hpux

 写道
/dev/vg00/lvora9i 10485760 9591390 838512 92% /ora9i
/dev/vg00/lvora10g 10485760 7678275 2632034 74% /ora10g
/dev/vg00/lvol5 8192000 4752112 3413032 58% /opt
/dev/vg00/lvol4 4096000 31336 4032952 1% /home
/dev/vgapp/lv_crmapp 104857600 104857600 0 100% /crmapp
/dev/vgapp/lv_crmbss 41943040 30176336 11038906 73% /crmbss
/dev/vgapp/lv_devapp 41943040 27368 39295949 0% /devapp
 

yf2@[/home/lsof]#ff -s /dev/vgbill/lv_crmapp |grep null

lan_allotnullport_service.jsp        110263  4949
./(null)        167466  96
./(null)        173889  84380980224
./(null)        173934  5212

查出来了,是占用比较大的

yf2@[/home/lsof]#/usr/local/bin/lsof /dev/vgapp/lv_crmapp | grep 173889
OrderComp 18074  dev26    4u   REG 64,0x30007 84382806016 173889 /crmapp (/dev/vgapp/lv_crmapp)

用上述命令查出这个进程的pid 号 

yf2@[/home/lsof]#ps -ef|grep 18074
    root 17984   290  0 16:51:50 pts/trb   0:00 grep 18074
   dev26 18074     1 255  Nov 15  ?        1998:33 OrderCompDisp
yf2@[/home/lsof]#kill -9 18074 
 

最后直接杀掉进程。

另附 lsof for hp-ux 的版本。见附件 。

猜你喜欢

转载自swvip.iteye.com/blog/815243