[olug] divert console errors to file?
Justin Reiners
justin at hotlinesinc.com
Wed Oct 18 10:50:42 CDT 2017
you should see sacrifice child logged there if it was a memory issue. If
you stop the service and run it using that first redirect you should
capture any console messages as well. Something should show in journald
during that timeframe as well.
On Wed, Oct 18, 2017 at 10:49 AM, Justin Reiners <justin at hotlinesinc.com>
wrote:
> Oh sorry, I thought that is what you were looking for, you don't see
> anything under journalctl?
>
> journalctl --since yesterday
>
>
>
> On Wed, Oct 18, 2017 at 10:45 AM, Dave Thacker <dthacker9 at gmail.com>
> wrote:
>
>> 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
>> _______________________________________________
>> 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
>
--
.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
More information about the OLUG
mailing list