LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 05: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, 05:58 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,710

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
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, 02: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, 02: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, 07: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, 12:27 AM   #6
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,972

Rep: Reputation: 271Reputation: 271Reputation: 271
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



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 08:02 AM
Start Date + Time Duration = End Date/Time calculator? ToBe Linux - General 3 09-26-2005 10:17 AM
how to change system time? date cmd? servnov Linux - Newbie 2 10-31-2004 03:07 PM
Change system time or date or both lel800 Linux - Newbie 6 10-28-2003 07:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:15 AM.

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
Open Source Consulting | Domain Registration