Date: Sun, 16 Nov 2014 10:37:53 -0800 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: Allan Jude <allanjude@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: init(8) diagnostics? Message-ID: <20141116183753.GA36021@troutmask.apl.washington.edu> In-Reply-To: <5468EB84.2070309@freebsd.org> References: <20141116180733.GA35841@troutmask.apl.washington.edu> <5468EB84.2070309@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141116183753.GA36021>