@87c34046 does this have to happen within the app itself, or are you willing to use strace or other Linux tools?