1850961 Members
4414 Online
104056 Solutions
New Discussion

open files

 
SOLVED
Go to solution
Clutier_1
Occasional Advisor

open files

Hi,
After closing oracle for backup successfully, i have some dbf files open which can't backup.
Also I seek to determine by which is open.
How can i do ?
3 REPLIES 3
Robert-Jan Goossens
Honored Contributor

Re: open files

Hi Clutier,

Lsof is a great tool to list open files, you can download the depot software at the HPUX porting centre,

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.69/

Hope this helps,
Robert-Jan
Michael Tully
Honored Contributor

Re: open files

You can use 'lsof' if you wish, but you should be able to use the 'fuser' tool as well to find what process has the file open.

$ fuser /mydir/my.dbf
Anyone for a Mutiny ?
Vijaya Kumar_3
Respected Contributor
Solution

Re: open files

Hi

Lsof will be greatly useful for you.

Some commands example:

# lsof -c
# lsof -u
# lsof -u

Also used to find socket/ports:

# lsof -i tcp:23
# lsof -i udp:123


Hope it helps
-Vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com