The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 03:43 PM
loop through the directory for files and sort by date and process the first file dsdev_123 AIX 1 01-30-2008 05:31 PM
wiping system from ok prompt forbin24 UNIX for Dummies Questions & Answers 2 10-12-2004 06:03 PM
moving files from a unix directory to a windows directory gleads UNIX for Dummies Questions & Answers 2 08-29-2002 09:42 PM
rouge processes namtab UNIX for Dummies Questions & Answers 1 10-08-2001 11:50 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-21-2006
hedrict hedrict is offline
Registered User
  
 

Join Date: Jun 2001
Posts: 35
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!
  #2 (permalink)  
Old 12-21-2006
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,944
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 12:46 PM..
  #3 (permalink)  
Old 12-21-2006
hedrict hedrict is offline
Registered User
  
 

Join Date: Jun 2001
Posts: 35
we are on AIX 5.2, thanks for looking!
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:48 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0