"reboot" detection ...

ratheesh kannoth <[email protected]>
Newsgroups org.kernel.vger.linux-newbie,org.kernel.vger.linux-c-programming
Message-ID <CAGZFCEFLx9nu4Dcm2iX5bTC+R5GcF63Kp+TW4XUvg8EcGoM5PQ@mail.gmail.com>
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.