init(8) diagnostics?
Steve Kargl
sgk at troutmask.apl.washington.edu
Sun Nov 16 18:37:54 UTC 2014
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).
--
Steve
More information about the freebsd-current
mailing list