From: snoopyzwe <snoopyzwe@sina.com>
To: linux-kernel@vger.kernel.org
Subject: how to calculate the system idle time
Date: Mon, 21 Jul 2003 21:11:42 +0000 [thread overview]
Message-ID: <3F1C570E.8080607@sina.com> (raw)
I want to implement a module, whose main task is to check the system
idle time(no keyboard and mouse input) and suspend the whole system(when
the idle time is long enough). But there comes the problem, how to
calculate the system idle time. How can I get the time user has no
operation.
thanks
snoopyzwe
next reply other threads:[~2003-07-21 12:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-21 21:11 snoopyzwe [this message]
2003-07-21 13:35 ` how to calculate the system idle time Richard B. Johnson
2003-07-21 21:55 ` snoopyzwe
2003-07-21 15:45 ` Lucas Correia Villa Real
2003-07-21 16:17 ` Mathieu Chouquet-Stringer
2003-07-21 16:48 ` Lucas Correia Villa Real
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F1C570E.8080607@sina.com \
--to=snoopyzwe@sina.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox