LinuxQuestions.org
Help answer threads with 0 replies.
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 06-29-2010, 06:12 PM   #1
saurabhchokshi
Member
 
Registered: May 2007
Posts: 35

Rep: Reputation: 15
Log Date/time doesn't change with system time


Hello Folks,

I have the application and kernel module running on my system. In the meantime, I am changing the date and time of the system. However, this change doesn't reflect on log messages of the application that's being executed.

Please share your thoughts and idea to sort out this issue w/o restarting the application.

Thanks,
Saurabh Chokshi
 
Old 06-29-2010, 06:58 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,087

Rep: Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714
Quote:
Originally Posted by saurabhchokshi View Post
Hello Folks,

I have the application and kernel module running on my system. In the meantime, I am changing the date and time of the system. However, this change doesn't reflect on log messages of the application that's being executed.

Please share your thoughts and idea to sort out this issue w/o restarting the application.
Don't know exactly what you think we can tell you, based on your question. We have no idea what "the application" is, what "kernel module" you're referring to, on what version/distro of Linux, etc. You tell us nothing about how the system is set up, where it gets its time from now, and what log file you're talking about.

Provide details, and perhaps you can get help.
 
Old 06-30-2010, 03:08 AM   #3
saurabhchokshi
Member
 
Registered: May 2007
Posts: 35

Original Poster
Rep: Reputation: 15
Hi,

I am executing PCIe Device Driver and IOCTL File operations driver as a kernel that is connected with PCIe interface. This driver is being used by application through IOCTL calls to compute the incoming data coming from peripheral device through PCIe.

I am using Centos 5.3 Linux Distribution with Linux kernel 2.6.27.20. I am modifying the local date and time of the system. I hope this information helps.

Thanks,
Saurabh Chokshi
 
Old 07-01-2010, 03:43 PM   #4
saurabhchokshi
Member
 
Registered: May 2007
Posts: 35

Original Poster
Rep: Reputation: 15
Hello Folks,

Any updates or inputs for this post?

Thanks,
Saurabh
 
Old 07-06-2010, 08:05 PM   #5
saurabhchokshi
Member
 
Registered: May 2007
Posts: 35

Original Poster
Rep: Reputation: 15
Hello ,

Please help me out to resolve this issue.

Is this issue unsolvable?

Thanks,
Saurabh
 
Old 07-07-2010, 01:27 AM   #6
RandomTroll
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 297

Rep: Reputation: 27
I'm not confident I know what's going on.

Are you changing the hardware clock and hoping that that will change the system time? It won't unless you synchronize the system time with the hardware clock. I use hwclock for this.

Are you running a time daemon that updates the system clock?

Could the application get its time from elsewhere, such as an external device to which it is attached?

One could write an application that keeps its own time. Do the entries in /var/log/messages show that the time has 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
Setting system date and time affecting the clock and date on BIOS satimis Ubuntu 7 09-21-2007 09:02 AM
Start Date + Time Duration = End Date/Time calculator? ToBe Linux - General 3 09-26-2005 11:17 AM
how to change system time? date cmd? servnov Linux - Newbie 2 10-31-2004 04:07 PM
Change system time or date or both lel800 Linux - Newbie 6 10-28-2003 08:00 PM


All times are GMT -5. The time now is 04:05 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