9 More Discussions You Might Find Interesting
1. AIX
Hi guys,
I got some error on my application server mentioning that gps clock not sync to my db server.
what is the command to check is my server is sync with the gps clock?
appreciate if you guys can let me know how to troubleshoot this problem.
Thanks (1 Reply)
Discussion started by: leecopper
1 Replies
2. Programming
Hi all ,
I need to make a program who describes this ( upper ) graphic:
http://upload.wikimedia.org/wikipedia/commons/8/82/Sawtooth-td_and_fd.png
My idea is to implement a battery charge
x: 0 to time T,
y : 0 to 1 values.
Can you help me ? (1 Reply)
Discussion started by: jerold
1 Replies
3. 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
4. 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
5. 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
6. 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
7. 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
8. Linux
Is it not possible to get the "Digital" clock in KDE 3.3 to show am or pm?
Well I just noticed the plain clock setting is the only one that shows it. (2 Replies)
Discussion started by: CTroxtell21
2 Replies
9. 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
rtc(1M) System Administration Commands rtc(1M)
NAME
rtc - provide all real-time clock and GMT-lag management
SYNOPSIS
/usr/sbin/rtc [-c] [-z zone-name]
DESCRIPTION
On x86 systems, the rtc command reconciles the difference in the way that time is established between UNIX and MS-DOS systems. UNIX systems
utilize Greenwich Mean Time (GMT), while MS-DOS systems utilize local time.
Without arguments, rtc displays the currently configured time zone string. The currently configured time zone string is based on what was
last recorded by rtc-z zone-name.
The rtc command is not normally run from a shell prompt; it is generally invoked by the system. Commands such as date(1) and rdate(1M),
which are used to set the time on a system, invoke /usr/sbin/rtc -c to ensure that daylight savings time (DST) is corrected for properly.
OPTIONS
-c This option checks for DST and makes corrections if necessary. It is normally run once a day by a cron job.
If there is no RTC time zone or /etc/rtc_config file, this option will do nothing.
-z zone-name This option, which is normally run by the system at software installation time, is used to specify the time zone in which
the RTC is to be maintained. It updates the configuration file /etc/rtc_config with the name of the specified zone and the
current GMT lag for that zone. If there is an existing rtc_config file, this command will update it. If not, this command
will create it.
FILES
/etc/rtc_config The data file used to record the time zone and GMT lag. This file is completely managed by /usr/sbin/rtc, and it is
read by the kernel.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |x86 |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
date(1), rdate(1M), attributes(5)
SunOS 5.10 3 Oct 2003 rtc(1M)