LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-27-2003, 04:32 PM   #1
bz_dude
LQ Newbie
 
Registered: Feb 2003
Posts: 2

Rep: Reputation: 0
Question Monitoring Open Files


I would like to monitor files that are currently opened by a process. Is there a command in LINUX or a tool that I can use to do this? I'm interested in seeing some kind of report that shows when a file is opened or closed by the process accessing it.

Thanx.
 
Old 02-27-2003, 04:37 PM   #2
Q*Bert
Member
 
Registered: Feb 2003
Location: Birmingham, UK
Distribution: Redhat 8.0, Immunix 7.0 a few others
Posts: 222

Rep: Reputation: 30
Welcome to LQ.org bz_dude!

Try the command line tool called 'top'.
 
Old 02-27-2003, 05:02 PM   #3
bz_dude
LQ Newbie
 
Registered: Feb 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks.
 
Old 10-23-2003, 10:15 AM   #4
em295
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
top??? no no no...

Two commands to start with ...

/sbin/fuser and /usr/sbin/lsof

have a play with these commands and I think you will be ok!

have fun
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open .7z files john0908 Linux - Software 4 08-11-2006 06:11 AM
How do I open .gz files? kompact Linux - Newbie 18 04-22-2005 02:23 PM
Open Office does not open large files linuxfond Linux - Newbie 8 09-26-2004 04:46 AM
Can Open Office open WordPerfect files hemenm Linux - Software 2 03-10-2004 06:14 PM
Too many files open cic Linux - General 1 02-07-2002 05:18 AM


All times are GMT -5. The time now is 05:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration