Re: [chrony-users] Getting chrony status

2016-08-09 Thread Miroslav Lichvar
On Tue, Aug 09, 2016 at 09:47:28AM +0200, Mauro Condarelli wrote: > Il 08/08/2016 10:34, Miroslav Lichvar ha scritto: > > "time has settled down", you might need to check also the "System > Problem is on target I have unreliable Internet connection. > This means i might not have connection at all

Re: [chrony-users] Getting chrony status

2016-08-09 Thread Mauro Condarelli
Thanks Miroslav. Comments below. Il 08/08/2016 10:34, Miroslav Lichvar ha scritto: On Sun, Aug 07, 2016 at 05:06:46AM +0200, Mauro Condarelli wrote: Thanks Steve. I know about "chronyc tracking", but that is human-readable info. I need to parse it (in a shell script) to delay starting of my

Re: [chrony-users] Getting chrony status

2016-08-09 Thread Bill Unruh
I also have a very strange and annoying behavior I need to debug, somehow: It happens (rarely, about once in a few days) system time, as seen using either "date" or "time(null)", "jumps around" for a short while and then resets to normal. I mean I have record of time going in the past (two

Re: [chrony-users] Getting chrony status

2016-08-08 Thread Miroslav Lichvar
On Sun, Aug 07, 2016 at 05:06:46AM +0200, Mauro Condarelli wrote: > Thanks Steve. > I know about "chronyc tracking", but that is human-readable info. > I need to parse it (in a shell script) to delay starting of my app until time > has settled down. > Is it enough to wait for "Leap status" to go

Re: [chrony-users] Getting chrony status

2016-08-07 Thread Mauro Condarelli
Thanks Steve. I know about "chronyc tracking", but that is human-readable info. I need to parse it (in a shell script) to delay starting of my app until time has settled down. Is it enough to wait for "Leap status" to go to "Normal"? ... or should I take into consideration other values?.

Re: [chrony-users] Getting chrony status

2016-08-07 Thread Steve Horton
It will only show synchronized after such time. It'll be the last line I think. I pipe it out to a file and grep, loop, clear file, sleep 1 min, repeat. Not pretty but it works. On Aug 6, 2016 11:06 PM, "Mauro Condarelli" wrote: > Thanks Steve. > I know about "chronyc

Re: [chrony-users] Getting chrony status

2016-08-06 Thread Steve Horton
Chronyc tracking -will show how "off" you are from the time of your servers UTC. I usually set my clocks in the bios to utc, or very close and chrony will use this as a starting point after boot. On Aug 6, 2016 12:11 PM, "Mauro Condarelli" wrote: > Hi, > I need to start an