How can I monitor in real time, which files an application reads and writes to while it is running? In my particular case I want to monitor korganizer.
Asked
Active
Viewed 718 times
-1
1 Answers
1
So many ways, see the man
pages for each of these:
Start the program under strace
, and use strace
options to only see the file operations you care about.
Download the source for installwatch
, and adapt.
Repeated lsof -c korganizer
.

waltinator
- 4,865
ftrace
,perf
orsystemtap
that can achieve that without affecting the app. I would upvote this if the answer gets updated to specifically state this is to monitor reads/writes under Linux and without using strace. – Thomas Guyot-Sionnest May 08 '22 at 16:57