From: ratheesh kannoth <ratheesh.ksz@gmail.com>
To: linux-c-programming@vger.kernel.org,
linux-newbie <linux-newbie@vger.kernel.org>
Subject: "reboot" detection ...
Date: Sun, 26 Aug 2012 15:34:03 +0530 [thread overview]
Message-ID: <CAGZFCEFLx9nu4Dcm2iX5bTC+R5GcF63Kp+TW4XUvg8EcGoM5PQ@mail.gmail.com> (raw)
Hi,
Is there any way to find that the machine is rebooting. ?
Say, i issued a "reboot" command in one of the Konsole shell. Is
there any way to detect this trigger in kernel space or in userspace ?
Any clue is really appreciated .
Thanks,
Ratheesh
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next reply other threads:[~2012-08-26 10:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-26 10:04 ratheesh kannoth [this message]
2012-08-26 12:22 ` "reboot" detection Peter Hüwe
2012-08-26 16:34 ` Anatoly Sivov
2012-08-26 18:14 ` Peter Hüwe
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=CAGZFCEFLx9nu4Dcm2iX5bTC+R5GcF63Kp+TW4XUvg8EcGoM5PQ@mail.gmail.com \
--to=ratheesh.ksz@gmail.com \
--cc=linux-c-programming@vger.kernel.org \
--cc=linux-newbie@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).