LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 09-18-2010, 11:06 AM   #1
nima0102
Member
 
Registered: Nov 2006
Posts: 209

Rep: Reputation: 30
Find out what program last time wrote on given file


Hi
On my server there is one log file named A.log, that one program logs on this file. but recently I found this file is changed in different manner!!
It's probably another program has changed this file.
I want to find out what daemon or program wrote this file last time!or probably since then what program change this file.
Is there any solution ?
 
Old 09-19-2010, 06:38 AM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
Does it have facility? Did you look at /var/log/messages, /etc/rsyslog.conf, ...? Is this common service or you write for yourself? Could you please give us the its content?
 
Old 09-19-2010, 09:00 AM   #3
nima0102
Member
 
Registered: Nov 2006
Posts: 209

Original Poster
Rep: Reputation: 30
Thanks for your attention.
After some search on Google I found out this link.
I think this article justify our needs.

Thanks in advance
 
Old 09-19-2010, 09:30 AM   #4
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by nima0102 View Post
After some search on Google I found out this link.
I think this article justify our needs.
OK, but it can only help in the case you installed and configured before your file was changed.
 
  


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
i need to find out the execution time in a C program???? vignesh1988i Linux - Newbie 4 07-29-2010 11:34 AM
[SOLVED] a kernel i wrote myself cannot find data smeezekitty Programming 60 10-02-2009 04:56 PM
Is there a way to find out the last time a program was run? bilbod Linux - General 6 06-25-2008 12:46 PM
What is the last program you wrote (or are currently writing)? lowpro2k3 Programming 2 08-15-2005 02:14 AM
Wrote a program: TEXTDRAW lea Programming 1 08-13-2002 10:03 AM


All times are GMT -5. The time now is 02:39 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration