You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: common-content/en/module/tools/process-spelunking/index.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -275,7 +275,7 @@ Use what you learned in the previous exercise, to find the *PID* of this program
275
275
Now run `lsof -p 1234` (replace 1234 with the *PID* of the program).
276
276
The `-p` flag tells `lsof` that we're only interested in the files opened by that process; without that option `lsof` will show everything that it can show.
277
277
278
-
Can you find the FD of the `exercise_2.py` file?
278
+
Can you find the FD of the `exercise_2_file.txt` file?
Note that the file `exercise_2.py` does not appear in the list because, by the time lsof is executed, Python has already read its contents into memory and no longer holds an open file descriptor.
0 commit comments