Date: Sun, 16 Nov 2014 14:59:26 -0600 From: Adam Vande More <amvandemore@gmail.com> To: Steve Kargl <sgk@troutmask.apl.washington.edu> Cc: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>, Allan Jude <allanjude@freebsd.org> Subject: Re: init(8) diagnostics? Message-ID: <CA%2BtpaK1uu9aE%2BCGM=moLTGqKZqkEqibDb=L%2BzC0GjMnqdgOCzA@mail.gmail.com> In-Reply-To: <20141116183753.GA36021@troutmask.apl.washington.edu> References: <20141116180733.GA35841@troutmask.apl.washington.edu> <5468EB84.2070309@freebsd.org> <20141116183753.GA36021@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 16, 2014 at 12:37 PM, Steve Kargl < sgk@troutmask.apl.washington.edu> wrote: > On Sun, Nov 16, 2014 at 01:23:00PM -0500, Allan Jude wrote: > > On 2014-11-16 13:07, Steve Kargl wrote: > > > In init(8), one finds under DIAGNOSISTICS > > > > > > "some processes would not die; ps axl advised." > > > > > > So, just how is one to actually run 'ps axl advised' as > > > the message appears as init(8) is killing off the system? > > > > > > > In this case 'advised' is not a literal part of the command, but rather, > > it is suggesting that running 'ps axl' will show which process(es) are > > still running, and those would be the ones that would not die. > > > > When this message comes up, how far through the shutdown are you? Does > > it stall there for a while? or continue quickly? > > > > Yes, I know that the message means that one should run 'ps axl'. > > The system is well beyond any hope of interactive commands at the > console. It appears right after init(8) stops syslogd and before > the 'stopping vnlru ... done.' message. > > I was hoping that I could put the command in /etc/shutdown.rc, but > reading that script did not provide the insight needed to automatically > run the command. > > It is somewhat surprising that init(8) does not give the PID(s) of > the offending process(es). Or why doesn't it just run it automatically. -- Adam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK1uu9aE%2BCGM=moLTGqKZqkEqibDb=L%2BzC0GjMnqdgOCzA>