The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
process mutliple files in the same directory epi8 UNIX for Dummies Questions & Answers 1 05-12-2008 11:43 AM
loop through the directory for files and sort by date and process the first file dsdev_123 AIX 1 01-30-2008 01:31 PM
wiping system from ok prompt forbin24 UNIX for Dummies Questions & Answers 2 10-12-2004 02:03 PM
moving files from a unix directory to a windows directory gleads UNIX for Dummies Questions & Answers 2 08-29-2002 05:42 PM
rouge processes namtab UNIX for Dummies Questions & Answers 1 10-08-2001 07:50 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-21-2006
Registered User
 

Join Date: Jun 2001
Posts: 35
Stumble this Post!
rouge process wiping files from a directory

I'm hoping you guys (the experts) can help me.

We have a sweep directory (/opt/application/sweep) critical to our application process. The application will lay down a file in that directory, then about 15 seconds later a post process will come along and pick that file up and continue processing. The problem is that something (a rouge process) or someone is doing an rm -f * in that directory. We are trying to figure out what process or person may be doing this.

We have examined all of our users .sh_history files and don't see a smoking gun.

Do you guys have any suggestions on how to identify the culprit?

Thanks in advance!
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-21-2006
Registered User
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 923
Stumble this Post!
What operating system is this? Linux kernels 2.4.x and newer have an API that provides notification on file modification, etc.

[edit] inotify doesn't provide the process id, so won't help.

Maybye see if things keep vanishing after you turn off cron?

Last edited by Corona688; 12-21-2006 at 08:46 AM.
Reply With Quote
  #3 (permalink)  
Old 12-21-2006
Registered User
 

Join Date: Jun 2001
Posts: 35
Stumble this Post!
we are on AIX 5.2, thanks for looking!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:11 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0