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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-29-2010, 06:12 PM
|
#1
|
Member
Registered: May 2007
Posts: 35
Rep:
|
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
|
|
|
06-29-2010, 06:58 PM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,461
|
Quote:
Originally Posted by saurabhchokshi
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.
|
|
|
06-30-2010, 03:08 AM
|
#3
|
Member
Registered: May 2007
Posts: 35
Original Poster
Rep:
|
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
|
|
|
07-01-2010, 03:43 PM
|
#4
|
Member
Registered: May 2007
Posts: 35
Original Poster
Rep:
|
Hello Folks,
Any updates or inputs for this post?
Thanks,
Saurabh
|
|
|
07-06-2010, 08:05 PM
|
#5
|
Member
Registered: May 2007
Posts: 35
Original Poster
Rep:
|
Hello ,
Please help me out to resolve this issue.
Is this issue unsolvable?
Thanks,
Saurabh
|
|
|
07-07-2010, 01:27 AM
|
#6
|
Senior Member
Registered: Mar 2010
Distribution: Slackware
Posts: 2,170
|
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?
|
|
|
All times are GMT -5. The time now is 06:06 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|