DOKK / manpages / debian 11 / gpiod / gpiomon.1.en
GPIOMON(1) User Commands GPIOMON(1)

gpiomon - manual page for gpiomon v1.6.2

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

-B, --bias=[as-is|disable|pull-down|pull-up] (defaults to 'as-is'):

set the line bias

-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

leave bias unchanged
disable bias
enable pull-up
enable pull-down

%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.

December 2020 libgpiod v1.6.2