uli툴을 사용하면 볼 수 있습니다.
(이 툴은 HP RC에 문의 바랍니다. )
uli: List unlinked (removed) files that are still in use
==========================================================
root:/tmp/hp/uli>./uli <--- 실행.
libp4 (9.67): Opening /stand/vmunix /dev/kmem
Loading symbols from /stand/vmunix
Kernel TEXT pages not requested in crashconf
Will use an artificial mapping from a.out TEXT pages
Loading symbols from /stand/current/mod/pfil
Note: Consider P4_ELF_WARNING=2 to get more details
Note: No debug information for this module
Loading symbols from /stand/current/mod/ipf
Note: No debug information for this module
Loading symbols from /stand/current/mod/rng
Note: No debug information for this module
PID PPID COMMAND INODE DEVICE SIZE(bytes)
6217 1 oracle 93921 /dev/root 3743830261 <--- 실제 rm으로 파일을 지웠지만, oracle이 이 파일을 open하고 있기때문에 bdf에서는 3.7g가 줄어들지 않습니다.
따라서 해당 프로세스를 죽이면 파일에 대한 reference count=0가 되어 더 이상 사용되지 않는다는것을 의미하므로, bdf에 반영이 됩니다.
(이 툴은 HP RC에 문의 바랍니다. )
uli: List unlinked (removed) files that are still in use
==========================================================
root:/tmp/hp/uli>./uli <--- 실행.
libp4 (9.67): Opening /stand/vmunix /dev/kmem
Loading symbols from /stand/vmunix
Kernel TEXT pages not requested in crashconf
Will use an artificial mapping from a.out TEXT pages
Loading symbols from /stand/current/mod/pfil
Note: Consider P4_ELF_WARNING=2 to get more details
Note: No debug information for this module
Loading symbols from /stand/current/mod/ipf
Note: No debug information for this module
Loading symbols from /stand/current/mod/rng
Note: No debug information for this module
PID PPID COMMAND INODE DEVICE SIZE(bytes)
6217 1 oracle 93921 /dev/root 3743830261 <--- 실제 rm으로 파일을 지웠지만, oracle이 이 파일을 open하고 있기때문에 bdf에서는 3.7g가 줄어들지 않습니다.
따라서 해당 프로세스를 죽이면 파일에 대한 reference count=0가 되어 더 이상 사용되지 않는다는것을 의미하므로, bdf에 반영이 됩니다.