[laptop-mode] Logging?
Bart Samwel
bart at samwel.tk
Fri May 1 08:43:48 CEST 2009
Hi Ritesh,
Ritesh Raj Sarraf wrote:
> On Wednesday 29 Apr 2009 18:46:16 Schnobs wrote:
> > Short question: how can I monitor when (or how often) the disks are spun
> > up and down? If I can turn on logging somewhere, I fail to see that
> switch.
> >
> Good timing. This is exactly something I've planned for the next release
> (1.49). Plan is to log to syslog when LMT changes its state.
>
>
> > Long background: I'm running laptop-mode not on a laptop, but on a
> > desktop machine (actually my home server, coveniently placed in the
> > broom cupboard). I'm trying to find settings that will keep the disks
> > powered down when the box is idle without causing too many start/stop
> > cycles per day.
> This should work right now. Just that it won't log anything.
> But if you enable verbose mode and restart LMT from a virtual terminal,
> you should be able to see the messages.
> But messages will only be logged during state change.
Perhaps Schnobs means logging of actual disk spin-ups, not LMT
activations? That's hard, since we don't have any process running, and
it's fully handled by the hardware...
Cheers,
Bart
More information about the laptop-mode
mailing list