rtc command

Hi,

I saw in QNX 6 docs “rtc” command, and there is written, that it
can set clock of remote machines (nodes), but I don’t understand how
it works.
Thanks for any help!


Piotr Trojanek

Piotr Trojanek <ptrojane@mion.elka.pw.edu.pl> wrote:

Hi,

I saw in QNX 6 docs “rtc” command, and there is written, that it
can set clock of remote machines (nodes), but I don’t understand how
it works.

I would bet that:

rtc net /net/node.name

would set the current time from the remote node, and that:

rtc -s net /net/node.name

would set the current time on the remote node from the current time
on your node.

Or, do you mean, you wonder how it is implemented underneath?

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.