teo@gecadsoftware.com wrote:
Hi christian.burri!
On Thu, 04 Oct 2001, christian.burri@synecta.ch wrote:
Hi List,
while doing a "du" in /proc, I get the following error msg:
du: `./2220/fd/4': No such file or directory
fd is a directory with opened file descriptors of the process
I saw the error once in a while when the fd is probably exactly of the process
trying to access proc (in this case du).
-- teodor
Indeed, Teodor has the answer. One can see from the following:
cnr2:/proc # du
...
0 ./29407/fd
0 ./29407
0 ./29416/fd
0 ./29416
du: ./29444/fd/4: No such file or directory
0 ./29444/fd
0 ./29444
0 .
cnr2:/proc # ps -aux | grep 2944
root 29445 0.0 0.2 2908 1352 pts/34 R 11:03 0:00 ps -aux
root 29446 0.0 0.0 1140 428 pts/34 S 11:03 0:00 grep 2944
--
<< "They that can give up essential liberty, >>
<< to purchase a little temporary safety, >>
<< deserve neither liberty nor safety." >>
-- Benjamin Franklin
---***---***---***---***---***---***---***---***---***---***---***---
Richard Witt Phone: (330) 672-0096
Dept. of Physics, Kent State University Email: witt@cnr2.kent.edu
---***---***---***---***---***---***---***---***---***---***---***---