11-05-2008
how to reset the hardware clock
Hi all
Hi could anyone tell me how i can set the
Hardware Clock to the System Time, and set the System Time from the
Hardware Clock.
i am using RHEL 4.0.
Thanks in advance.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey ppl, i was wonddering, in mandrake, how to get the clok to display the time in non-military format....hehe thank you im just tired of looking at 18:00 hehe thank you (2 Replies)
Discussion started by: LolapaloL
2 Replies
2. UNIX Desktop Questions & Answers
Guys could you please tell me which appropriate command is used to set hardware (BIOS) clock so that the system keeps time when it reboots & how it's used. I use Linux
Thank you (2 Replies)
Discussion started by: joseph kembo
2 Replies
3. Programming
Hey all,
i need a program to get the CPU ticks at certain points of my program. So, i thought about using the clock function, but i'm having a hard time figuring out how it really works. I wrote this simple program to try to understand it but it made me feel more confused:
#include <stdio.h>... (5 Replies)
Discussion started by: kastrup_carioca
5 Replies
4. Solaris
Hi there!!!
Need your help in solving some tricky problems.
Since clock() as such is buggy on SUN OS 5 we have started using gettimeofday() in our RTOS applications based on Solaris 9.
The problems we actually encountered previously were - the applications kind of freeze/hang eternally on... (1 Reply)
Discussion started by: smanu
1 Replies
5. Programming
#include<iostream>
#include<time.h>
using namespace std;
int main()
{
system("date");
clock_t start = clock();
int i=9*8;
while(i--)
{
int j=9999999;
while(j--);
}
clock_t end = clock();
double elapsed =... (4 Replies)
Discussion started by: johnbach
4 Replies
6. UNIX for Dummies Questions & Answers
What are the two ways the hardware clock can be configured under Linux?
Thanks (3 Replies)
Discussion started by: lemon_06
3 Replies
7. UNIX for Dummies Questions & Answers
Is it possible to display the clock (timing) on the screen all the time. (3 Replies)
Discussion started by: vino.paal
3 Replies
8. Solaris
Hi folk,
I have this hardware faunty message, but dont know which hardware is this ? can you guide me ?
--------------- ------------------------------------ -------------- ---------
TIME EVENT-ID MSG-ID SEVERITY
---------------... (9 Replies)
Discussion started by: dehetoxic
9 Replies
9. UNIX for Beginners Questions & Answers
Hello All,
OS: openSUSE 13.1 (Bottle) (armv7hl)
PC: CuBox-i (*mini-pc)
The PC in question is a CuBox-i mini-pc. Since this PC doesn't have a battery, everytime the PC reboots the hardware clock is reset back to the same date every time, which is "2014-07-08 00:00".
I have NTP configured... (5 Replies)
Discussion started by: mrm5102
5 Replies
oclock(1X) oclock(1X)
NAME
oclock - round X clock
SYNOPSIS
oclock [-option...]
OPTIONS
choose a different color for the both hands and the jewel of the clock choose a different color for the background. choose a different
color for the jewel on the clock. choose a different color for the minute hand of the clock. choose a different color for the hour hand
of the clock. selects an appropriate level of backing store. define the initial window geometry; see X(1X). specify the display to use;
see X(1X). choose a different color for the window border. choose a different width for the window border. As the Clock widget changes
its border around quite a bit, this is most usefully set to zero. causes the clock to use the Shape extension to create an oval window.
This is the default unless the shapeWindow resource is set to false. causes the clock to not reshape itself and ancestors to exactly fit
the outline of the clock. causes the clock to consist only of the jewel, the hands, and the border.
DESCRIPTION
The oclock program simply displays the current time on an analog display.
COLORS
If you would like your clock to be viewable in color, include the following in the #ifdef COLOR section you read with xrdb: *customization:
-color
This will cause oclock to pick up the colors in the app-defaults color customization file: <XRoot>/lib/X11/app-defaults/Clock-color. Below
are the default colors:
Clock*Background: grey Clock*BorderColor: light blue Clock*hour: yellow Clock*jewel: yellow Clock*minute: yellow
SEE ALSO
X(1X), X Toolkit documentation
AUTHOR
Keith Packard, MIT X Consortium
oclock(1X)