"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
What function do you need to do with hwclock? date can also set the date and time see man date.
Mike
"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
Hi,
I know I can set date with date command.
My system date is ok. Date shows correct time.
But I'm afraid that hardware clock is wrong.
On linux also there's date command. For example on my system
date was ok, but hardware clock was wrong.
Tjehhen
Here's the output:
[root@bw-test scripts]# date
Thu Nov 2 15:47:33 CET 2006
[root@bw-test scripts]# hwclock
Thu 02 Nov 2006 04:47:17 PM CET -0.315674 seconds
[root@bw-test scripts]# hwclock --systohc
[root@bw-test scripts]# hwclock
Thu 02 Nov 2006 03:47:43 PM CET -0.483772 seconds
[root@bw-test scripts]# date
Thu Nov 2 15:47:43 CET 2006
good question.
the hardware clock on aix can "only" be set from the service processor menus, you might be able to do it on a p5 machine from the ASMI interface while the system is up.
i wonder what happens when you set the "date" from AIX, given the locale offset, does it actually change the hardware clock when you change the time or "date" in AIX?
as far as i remember AIX only reads the hardware clock on boot, then it keeps track of the time by counting the cpu clock cycles.
there are some firmware fixes (and possibly apars) for power 4 machines that had problems with the time drifting.
Hi,
I use HMC to connect to the systems.
Can I see the hardware clock from there?
I'm getting crazy to understand why fils have time different on local and remote server.
Remote server is an ftp server with linux. On that system hwclock and date are the same.
On local system, aix, the date is the same as ftp server (so linux).
When I ftp from aix to linux I see that when issuing ls files show different time. Aix is one hour back and I'm not understanding why.
Any ideas?
It could be the TZ variable is not set for the ftpd on AIX.
Mike
"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.