From: Coywolf Qi Hunt <coywolf@gmail.com>
To: Willy Tarreau <willy@w.ods.org>
Cc: Marc Perkel <marc@perkel.com>, linux-kernel@vger.kernel.org
Subject: Re: Forcing an immediate reboot
Date: Sat, 15 Oct 2005 14:50:32 +0800 [thread overview]
Message-ID: <2cd57c900510142350v524a1bc0t1258a0d988aea28d@mail.gmail.com> (raw)
In-Reply-To: <20051015062125.GK22601@alpha.home.local>
On 10/15/05, Willy Tarreau <willy@w.ods.org> wrote:
> On Fri, Oct 14, 2005 at 06:46:46PM -0700, Marc Perkel wrote:
> > Is there any way to force an immediate reboot as if to push the reset
> > button in software? Got a remote server that i need to reboot and
> > shutdown isn't working.
>
> If you can telnet it, simply use this :
>
> # echo 1 >/proc/sys/kernel/sysrq
> # echo b >/proc/sysrq-trigger
>
> It's dirty and you'll have an fsck. But it will nearly always work.
You may avoid the fsck by:
# echo s >/proc/sysrq-trigger
# echo u >/proc/sysrq-trigger
> I use it a lot in local on distros on which the shutdown process is
> as long as the boot process (you know, the ones which display lots
> of 'OK' or wait indefinitely for some dead services to stop, when
> you really want them to reboot quickly).
--
Coywolf Qi Hunt
http://sosdg.org/~coywolf/
next prev parent reply other threads:[~2005-10-15 6:50 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-15 1:46 Marc Perkel
2005-10-15 1:50 ` Lee Revell
2005-10-15 6:47 ` Coywolf Qi Hunt
2005-10-15 6:51 ` Marc Perkel
2005-10-15 7:48 ` Anton Altaparmakov
2005-10-15 7:56 ` Coywolf Qi Hunt
2005-10-15 8:16 ` Anton Altaparmakov
2005-10-16 0:10 ` Petr Vandrovec
2005-10-15 13:23 ` documentation? (i learned something today ;-) ) Damir Perisa
2005-10-15 13:40 ` Benoit Boissinot
2005-10-15 14:52 ` Documentation/files somewhere online? Damir Perisa
2005-10-15 15:02 ` Denis Vlasenko
2005-10-15 15:13 ` Michael Krufky
2005-10-15 23:18 ` Documentation/files online: available at git in webinterface Damir Perisa
2005-10-15 14:29 ` Forcing an immediate reboot Marc Perkel
2005-10-15 1:55 ` Randy.Dunlap
2005-10-15 2:24 ` Danny ter Haar
2005-10-15 6:21 ` Willy Tarreau
2005-10-15 6:50 ` Coywolf Qi Hunt [this message]
2005-10-15 10:24 ` Denis Vlasenko
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=2cd57c900510142350v524a1bc0t1258a0d988aea28d@mail.gmail.com \
--to=coywolf@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marc@perkel.com \
--cc=willy@w.ods.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
all inboxes | Powered by JetHome®