[LinuxPPS] verifying that pps events come in

Folkert van Heusden folkert at vanheusden.com
Tue Apr 22 21:33:47 CEST 2008


Hi,

It seems I found an other way of checking that PPS events come in
without clogging up the dmesg output:

watch 'udevinfo -a -p /sys/class/pps/pps1 | grep -e clear -e assert'
                                     ^^^^
you might need to replace pps1 with pps0 if that's your pps source

Output is like this:
    ATTR{clear}=="1208892771.099993770#87942"
    ATTR{assert}=="1208892770.999982446#87943"

    ATTR{clear}=="1208892772.099997600#87943"
    ATTR{assert}=="1208892771.999982695#87944"


Folkert van Heusden

-- 
MultiTail è uno flexible tool per seguire di logfiles e effettuazione
di commissioni. Feltrare, provedere da colore, merge, 'diff-view',
etc. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com



More information about the LinuxPPS mailing list