|Did you know ...||Search Documentation:|
% ls -l /proc/<pid>/fd
If now (say) descriptor 15 is open where it should not be, we can this command to find the associated Prolog streams and print as mush as possible information about the stream.
|Stream||- A stream-handle, alias name, (integer) system
file handle or |