rouge process wiping files from a directory


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers rouge process wiping files from a directory
# 1  
Old 12-21-2006
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  
Old 12-21-2006
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  
Old 12-21-2006
we are on AIX 5.2, thanks for looking!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

For the Admins, rouge advert(s)...

Hi guys this problem exists on all my machines... Windows 8.1, Ubuntu, iMac and this MBP. All use fireFox, latest current version. If I log in there is NOT a problem. I usually enter this site as an outsider and I have noticed that there is some rouge code and/or advert that slows the... (5 Replies)
Discussion started by: wisecracker
5 Replies

2. Shell Programming and Scripting

Process files in a directory and move them

I have a directory e2e_ms_xfer/cent01 this contains the multiple files some of which will be named below with unique date time stamps e2e_ms_edd_nom_CCYYMMDD_HHMM.csv What I want to do is in a loop 1) Get the oldest file 2) Rename 3) Move it up one level from e2e_ms_xfer/cent01 to... (1 Reply)
Discussion started by: andymay
1 Replies

3. Shell Programming and Scripting

delete all lines with string, process all files in directory

Simply, I have a directory of text files and I need to delete every line in every file containing a specific string. I want to write the modified files to an empty sub directory. I can't seem to get the sed command to delete the lines containing the string, and not just the string, in other... (3 Replies)
Discussion started by: LMHmedchem
3 Replies

4. UNIX for Dummies Questions & Answers

process mutliple files in the same directory

I have over 900 files that have the same name except for a unique numeric assignment. For all files I would like to cut the 2nd column and paste all into one new file. All in bash. sample input format for each file: 1 2 3 1 2 3 1 2 3 sample command for what I want to do: cut -d' ' -f2... (1 Reply)
Discussion started by: epi8
1 Replies

5. AIX

loop through the directory for files and sort by date and process the first file

hello i have a requirement where i have a direcotry in which i get files in the format STOCKS.20080114.dat STOCKS.20080115.dat STOCKS.20080117.dat STOCKS.20080118.dat i need to loop through the directory and sort by create date descending order and i need to process the first file. ... (1 Reply)
Discussion started by: dsdev_123
1 Replies

6. Solaris

wiping hard drive

I'm looking for a utility that will wipe data clean from a Solaris hard drive and make the data unreadable and unrecoverable. Any suggestions? Does SUN have something? (3 Replies)
Discussion started by: dangral
3 Replies

7. UNIX for Dummies Questions & Answers

wiping system from ok prompt

So last week I posted about my system that will not completely boot. It reports a bad trap and reboots in an endless cycle. I'm at a point where I just want to wipe the system clean, reload the software and basically start from scratch. I can interrupt the boot cycle and get to an ok prompt.... (2 Replies)
Discussion started by: forbin24
2 Replies

8. UNIX for Dummies Questions & Answers

Wiping UNIX Hard Drive

Hello all, Maybe someone can help? Please?!?!? How do I wipe a UNIX hard drive, For dos I use Norton. Is there something like that for UNIX. I am just barley understanding UNIX, so please forgive my ignorance. Also, is there a government approved method of sanitization? Thanks (10 Replies)
Discussion started by: rocky123
10 Replies

9. UNIX for Dummies Questions & Answers

rouge processes

Often when i do a ps -ef |grep user there are sh processes however the users are not actually logged in. Does any one know what i could do to automatically kill off these processes. (1 Reply)
Discussion started by: namtab
1 Replies
Login or Register to Ask a Question