[olug] divert console errors to file?

Dave Thacker dthacker9 at gmail.com
Wed Oct 18 10:45:19 CDT 2017


Justin,
That will capture messages generated by the process.   What I'm looking for
are console messages that were generated from the kernel/OS that was
created because the process behaved badly.   I suspect the process may be
either hitting some i/o problems or hitting a ulimit threshold.

Dave


On Wed, Oct 18, 2017 at 10:14 AM, Justin Reiners <justin at hotlinesinc.com>
wrote:

> someCommand &> someFile.txt
>
>
>
> On Wed, Oct 18, 2017 at 10:11 AM, Dave Thacker <dthacker9 at gmail.com>
> wrote:
>
> > I have a process that is mysteriously rebooting in the middle of the
> > night.  I think there are console messages appearing that are not being
> > sent to syslog.  I'd like to capture the console errors and put them
> into a
> > file or syslog.   I used to have a secret recipe to do this but I've lost
> > the knowledge.   Does anyone have that tidbit?
> >
> > Thanks
> > Dave
> >
> >
> > --
> > Dave Thacker
> > SysAdmin, DBA, Postmaster, Maker, Odd Jobs
> > _______________________________________________
> > OLUG mailing list
> > OLUG at olug.org
> > https://www.olug.org/mailman/listinfo/olug
> >
>
>
>
> --
> .com
>
> Justin Reiners / System Administrator
>
> 800.308.9712/ justin at hotlinesinc.com <Justin at HotlinesInc.com>
>
> Hotlines Inc Office: 800.807.2867 / Fax: *712-388-0258*
> 427 E. Kanesville Blvd. Suite 403, Council Bluffs, IA 51503
> http://www.partshotlines.com
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://www.olug.org/mailman/listinfo/olug
>



-- 
Dave Thacker
SysAdmin, DBA, Postmaster, Maker, Odd Jobs


More information about the OLUG mailing list