[laptop-mode] Logging?

Ritesh Raj Sarraf rrs at researchut.com
Wed Apr 29 20:48:06 CEST 2009


--nextPart1339450.2nzY4CIRx2
Content-Type: multipart/alternative;
  boundary="Boundary-00=_nDK+JUBwBbjrk1L"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-00=_nDK+JUBwBbjrk1L
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Schnobs,

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 switc=
h.
>
Good timing. This is exactly something I've planned for the next release=20
(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=
=20
should be able to see the messages.
But messages will only be logged during state change.

Ritesh
=2D-=20
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."


--Boundary-00=_nDK+JUBwBbjrk1L
Content-Type: text/html;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'DejaVu Serif'; font-size:9pt; font-weight:400; font-style:normal;">Hi Schnobs,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>On Wednesday 29 Apr 2009 18:46:16 Schnobs wrote:<br>
&gt; Short question: how can I monitor when (or how often) the disks are spun<br>
&gt; up and down? If I can turn on logging somewhere, I fail to see that switch.<br>
&gt;<br>
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.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>&gt; Long background: I'm running laptop-mode not on a laptop, but on a<br>
&gt; desktop machine (actually my home server, coveniently placed in the<br>
&gt; broom cupboard). I'm trying to find settings that will keep the disks<br>
&gt; powered down when the box is idle without causing too many start/stop<br>
&gt; cycles per day.<br>
This should work right now. Just that it won't log anything.<br>
But if you enable verbose mode and restart LMT from a virtual terminal, you should be able to see the messages.<br>
But messages will only be logged during state change.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Ritesh<br>
-- <br>
Ritesh Raj Sarraf<br>
RESEARCHUT - http://www.researchut.com<br>
"Necessity is the mother of invention."<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p></body></html>
--Boundary-00=_nDK+JUBwBbjrk1L--

--nextPart1339450.2nzY4CIRx2
Content-Description: This is a digitally signed message part.
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : http://mailman.samwel.tk/pipermail/laptop-mode/attachments/20090430/65e24025/attachment.pgp 

--nextPart1339450.2nzY4CIRx2--


More information about the laptop-mode mailing list