[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: which process is accessing my hard drive?



Incoming from Matt Price:
> 
> I'm trying to set my (aging) laptop up for maximum power
> efficiency.  using hdparm, I set the spindown time very short, I don't
> use x, and I've gone so far as to shutdown things like cron and atd.
> Pretty much the only thing I have running is emacs (see the output of
> ps, attached).  But somehow the hard drive keeps spinning back up
> spontaneously.  Who's accessing my hard drive??  I don't have the
> slightest idea how to find out, or (even better) figure out how to
> stop it from happening.  

I may not have your solution, but a couple of points:

  - kswapd, bdflush, klogd _may_ be your problem.

  - do you really want portmap, inetd, xfs, and sshd running on a laptop?!?

I can see inetd (my exim seems to need it), but if you never ssh
_into_ that box, you don't need sshd.  You don't need portmap except
if you're connecting to NFS, and xfs seems a waste of resources on a
small box except if you're running apps that demand its abilities.

fwiw.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)               http://www.spots.ab.ca/~keeling 
- -



Reply to: