]>
git.ipfire.org Git - thirdparty/util-linux.git/commit
lsfd: add EVENTFD.ID column
The files under of /proc/$pid/fdinfo/* provide IDs for eventfd files.
With this change, lsfd extacts the IDs. All eventfd files share the
same inode. So the IDs are useful to distinguish two different
envetfds.
An example output:
$ ./lsfd -Q '(TYPE == "eventfd")' -o+EVENTFD.ID | head
COMMAND PID USER ASSOC MODE TYPE SOURCE MNTID INODE NAME EVENTFD.ID
gnome-session-b 17113 jet 3 rw- eventfd anon_inodefs 15 1060 id=43 43
gnome-session-b 17113 jet 4 rw- eventfd anon_inodefs 15 1060 id=44 44
gnome-session-b 17113 jet 6 rw- eventfd anon_inodefs 15 1060 id=158 158
gnome-session-b 17113 jet 8 rw- eventfd anon_inodefs 15 1060 id=167 167
at-spi-bus-laun 17160 jet 3 rw- eventfd anon_inodefs 15 1060 id=341 341
at-spi-bus-laun 17160 jet 4 rw- eventfd anon_inodefs 15 1060 id=342 342
at-spi-bus-laun 17160 jet 5 rw- eventfd anon_inodefs 15 1060 id=343 343
at-spi-bus-laun 17160 jet 9 rw- eventfd anon_inodefs 15 1060 id=344 344
gvfsd 17169 jet 3 rw- eventfd anon_inodefs 15 1060 id=369 369
Signed-off-by: Masatake YAMATO <yamato@redhat.com>