proc_pid_fdinfo(5) File Formats Manual proc_pid_fdinfo(5) /proc/pid/fdinfo/ - information about file descriptors /proc/pid/fdinfo/ ( Linux 2.6.22) , , . . . , . , - : $ cat /proc/12015/fdinfo/4 pos: 1000 flags: 01002002 mnt_id: 21 : pos . flags ( open(2)). close-on-exec, flags O_CLOEXEC. Linux 3.1 O_CLOEXEC , close-on-exec. mnt_id This field, present since Linux 3.15, is the ID of the mount containing this file. See the description of /proc/pid/mountinfo. eventfd ( eventfd(2)) ( Linux 3.8) : pos: 0 flags: 02 mnt_id: 10 eventfd-count: 40 eventfd-count eventfd counter ( ). epoll ( epoll(7)) ( Linux 3.8) : pos: 0 flags: 02 mnt_id: 10 tfd: 9 events: 19 data: 74253d2500000009 tfd: 7 events: 19 data: 74253d2500000007 , tfd, , epoll ( epoll_ctl(2)). tfd . events , . data , . signalfd ( signalfd(2)) ( Linux 3.8) : pos: 0 flags: 02 mnt_id: 10 sigmask: 0000000000000006 sigmask , signalfd ( 2 3 , SIGINT SIGQUIT; signal(7)). inotify ( inotify(7)) ( Linux 3.8) : pos: 0 flags: 00 mnt_id: 11 inotify wd:2 ino:7ef82a sdev:800001 mask:800afff ignored_mask:0 fhandle-bytes:8 fhandle-type:1 f_handle:2af87e00220ffd73 inotify wd:1 ino:192627 sdev:800001 mask:800afff ignored_mask:0 fhandle-bytes:8 fhandle-type:1 f_handle:27261900802dfd73 , <>, . : wd ( ). ino ( ). sdev , ( ). mask ( ). exportfs, (handle) , : fhandle-bytes, fhandle-type f_handle. fanotify ( fanotify(7)) ( Linux 3.8) : pos: 0 flags: 02 mnt_id: 11 fanotify flags:0 event-flags:88002 fanotify ino:19264f sdev:800001 mflags:0 mask:1 ignored_mask:0 fhandle-bytes:8 fhandle-type:1 f_handle:4f261900a82dfd73 , fanotify_init(2) fanotify: flags flags, fanotify_init(2) ( ). event-flags event_f_flags, fanotify_init(2) ( ). fanotify. inotify, : mflags , ( ). mask , ( ). ignored_mask , ( ). fanotify_mark(2). timerfd ( timerfd(2)) ( Linux 3.17) : pos: 0 flags: 02004002 mnt_id: 13 clockid: 0 ticks: 0 settime flags: 03 it_value: (7695568592, 640020877) it_interval: (0, 0) clockid ( CLOCK_*, ), ( 0 -- CLOCK_REALTIME). ticks (. ., , read(2)). settime flags ( TFD_TIMER_ABSTIME TFD_TIMER_CANCEL_ON_SET), timerfd ( timerfd_settime(2)). it_value , . , TFD_TIMER_ABSTIME. it_interval , ( it_value it_interval , timerfd_gettime(2) ). proc(5) () Alexey, Azamat Hackimov , kogamatranslator49 , Darima Kogan , Max Is , Yuri Kozlov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.9.1 2 2024 . proc_pid_fdinfo(5)