Ubuntu Manpages

gpiomon

manual page for gpiomon (libgpiod) v1.4.1

gpiomon [OPTIONS] <chip name/number> <offset 1> <offset 2> ...

Wait for events on GPIO lines and print them to standard output

display this message and exit
display the version and exit
set the line active state to low

-n, --num-events=NUM: exit after processing NUM events

don't print event info
only process rising edge events
only process falling edge events
set standard output as line buffered
specify custom output format

%o:
GPIO line offset
%e:
event type (0 - falling edge, 1 rising edge)
%s:
seconds part of the event timestamp
%n:
nanoseconds part of the event timestamp

Bartosz Golaszewski <bartekgola@gmail.com>

Report bugs to:
Bartosz Golaszewski <bartekgola@gmail.com>
linux-gpio <linux-gpio@vger.kernel.org>

Copyright © 2017-2018 Bartosz Golaszewski License: LGPLv2.1
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.