Re: What's accessing my hard disc?



David Cowie <me@xxxxxxxxxxx> did eloquently scribble:
On Sun, 25 Nov 2007 10:39:55 +0000, spike1 wrote:

lsof
(LiSt Open Files)
It lists all processes holding file handles, all processes with open
sockets and all processes with open (or listening) network connections.

Piping lsof into less reveals a report of over 4000 lines. That's a bit
more detail than I was looking for.

well, you can pipe through grep to exclude stuff you don't want.

ridcully:~ # lsof | wc -l
2154
ridcully:~ # lsof | grep DIR | wc -l
181

--
______________________________________________________________________________
| spike1@xxxxxxxxxxxxx | "Are you pondering what I'm pondering Pinky?" |
|Andrew Halliwell BSc(hons)| |
| in | "I think so brain, but this time, you control |
| Computer Science | the Encounter suit, and I'll do the voice..." |
------------------------------------------------------------------------------
.



Relevant Pages