I would like to say if the process opened the files using O_DIRECT, but I can only check it after the process was started (i.e. strace is not an option). I tried looking in / proc / $ pid / fd / to see if there was anything useful, but it wasn’t. My goal is to track whether any of the several hundred users on the system will open files using O_DIRECT. Is it possible?
source
share