Latest YouTube Video

Tuesday, July 12, 2016

Re: [giampaolo/psutil] Extend open_files (#859)

The anonymous files are open files that don't have a corresponding inodes (i.e. they do not have a path on the filesystem). Examples of these would be created using epoll_create, inotify_init, signalfd, eventfd, and others. Nevertheless, there is still very useful data that is contained in their respective /proc/$pid/fdinfo entries. For instance, if a process had numerous fd's being monitored by an epoll fd, you can then see which events were masked into said poll. Another use (and the one that I had been needing) would be if you have an inotify fd in a process and needed to see what the inode of contained watch is, you would be able to find this under the inotifys ino field. The mnt_id has been exposed since Linux 3.15. Which needed when a there are two file descriptors with the same path but, are on different mount points with separate namespaces. —You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

Source: Gmail -> IFTTT-> Blogger

No comments: