1GPIONOTIFY(1) User Commands GPIONOTIFY(1)
2
3
4
6 gpionotify - manual page for gpionotify v2.0.2
7
9 gpionotify [OPTIONS] <line>...
10
12 Wait for changes to info on GPIO lines and print them to standard out‐
13 put.
14
15 Lines are specified by name, or optionally by offset if the chip option
16 is provided.
17
19 --banner
20 display a banner on successful startup
21
22 --by-name
23 treat lines as names even if they would parse as an offset
24
25 -c, --chip <chip>
26 restrict scope to a particular chip
27
28 -e, --event <event>
29 specify the events to monitor Possible values: 'requested', 're‐
30 leased', 'reconfigured'. (default is all events)
31
32 -h, --help
33 display this help and exit
34
35 -F, --format <fmt>
36 specify a custom output format
37
38 --localtime
39 convert event timestamps to local time
40
41 -n, --num-events <num>
42 exit after processing num events
43
44 -q, --quiet
45 don't generate any output
46
47 -s, --strict
48 abort if requested line names are not unique
49
50 --unquoted
51 don't quote line or consumer names
52
53 --utc convert event timestamps to UTC
54
55 -v, --version
56 output version information and exit
57
58 Chips:
59 A GPIO chip may be identified by number, name, or path. e.g.
60 '0', 'gpiochip0', and '/dev/gpiochip0' all refer to the same
61 chip.
62
63 Format specifiers:
64 %o GPIO line offset
65
66 %l GPIO line name
67
68 %c GPIO chip name
69
70 %e numeric info event type ('1' - requested, '2' - released or '3'
71 - reconfigured)
72
73 %E info event type ('requested', 'released' or 'reconfigured')
74
75 %a line attributes
76
77 %C consumer
78
79 %S event timestamp as seconds
80
81 %U event timestamp as UTC
82
83 %L event timestamp as local time
84
86 Bartosz Golaszewski <bartekgola@gmail.com>
87
89 Report bugs to:
90 Bartosz Golaszewski <bartekgola@gmail.com>
91 linux-gpio <linux-gpio@vger.kernel.org>
92
94 Copyright © 2017-2023 Bartosz Golaszewski License: GPL-2.0-or-later
95 This is free software: you are free to change and redistribute it.
96 There is NO WARRANTY, to the extent permitted by law.
97
98
99
100libgpiod v2.0.2 August 2023 GPIONOTIFY(1)