HP-UX 下bdf 与 du 看的大小不一致
bdf inconsistent with du on hpux写道
/dev/vg00/lvora9i10485760 9591390838512 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_crmapp104857600 104857600 0100% /crmapp
/dev/vgapp/lv_crmbss41943040 30176336 11038906 73% /crmbss
/dev/vgapp/lv_devapp 41943040 27368 39295949 0% /devapp
yf2@#ff -s /dev/vgbill/lv_crmapp |grep null
lan_allotnullport_service.jsp 1102634949
./(null) 16746696
./(null) 17388984380980224
./(null) 1739345212
查出来了,是占用比较大的
yf2@#/usr/local/bin/lsof /dev/vgapp/lv_crmapp | grep 173889
OrderComp 18074dev26 4u REG 64,0x30007 84382806016 173889 /crmapp (/dev/vgapp/lv_crmapp)
用上述命令查出这个进程的pid 号
yf2@#ps -ef|grep 18074
root 17984 2900 16:51:50 pts/trb 0:00 grep 18074
dev26 18074 1 255Nov 15? 1998:33 OrderCompDisp
yf2@#kill -9 18074
最后直接杀掉进程。
另附 lsof for hp-ux 的版本。见附件 。
页:
[1]