I use pyinotifyto detect access, changes, etc. to files in this directory. Is there an easier way to find out which process is responsible for this - without patchinotify ?
pyinotify
inotify
No, you cannot, this information is not in the struct inotify_eventone sent by the kernel.
struct inotify_event
In fact, there is no guarantee that the responsible process is still running when you receive the event.
, Linux (pyinotify ), SELinux ( , ), ///etc.
Source: https://habr.com/ru/post/1709316/More articles:DeCAL и Delphi 2009 - delphiIs there an effective way to determine if a leaf node is accessible from another arbitrary node in a direct-access acyclic graph? - optimizationRun lynx-dump in the background? - bashEnabling SSI (ServerSide Includes) in JBoss? - javaIs there a way to call the BeforeUpdate event procedure of any control in VBA (MS Access 2002 or 2003)? - eventsHow to deactivate an egg? - pythonHow does SQL insert raw / Binary field value from bytes / integer array using VBScript (or VB6)? - sqlImprove speed BufferedReader - javaProgrammatically remove etag suffix (change number) from IIS6 metabase - wmiКак я могу предоставить отзыв моей команде об изменениях, включенных в сборку, и их влиянии на риск? - version-controlAll Articles