]>
git.ipfire.org Git - thirdparty/util-linux.git/commit
lsfd: fill NAME column of inotify files with the information about their monitoring targets
# ./lsfd -p 1 -Q '(TYPE == "inotify") and (FD > 7)'
COMMAND PID USER ASSOC MODE TYPE SOURCE MNTID INODE NAME
systemd 1 root 11 r-- inotify anon_inodefs 15 1060 inodes=116@dm-0
systemd 1 root 13 r-- inotify anon_inodefs 15 1060 inodes=299@tmpfs
systemd 1 root 19 r-- inotify anon_inodefs 15 1060 inodes=41@tmpfs,2@tmpfs,1@tmpfs,96@dm-0
systemd 1 root 21 r-- inotify anon_inodefs 15 1060 inodes=41@tmpfs,2@tmpfs,1@tmpfs,96@dm-0
In addition, INOTIFY.INODES and INOTIFY.INODES.RAW column are added.
Signed-off-by: Masatake YAMATO <yamato@redhat.com>