Serial port logging
richjunk1 at byu.net
Thu Dec 1 09:32:52 MST 2005
Though not 100% reliable, the best solution I have found is to use screen with
minicom -C. For instance, you could put this command into an init script:
screen -t "MySerialSession" -S "MySerialSession" -d -m minicom
Then when you log into a machine, you can access the log either by reattaching
the screen session (screen -r), or browsing the log file.
Check out the man pages for screen and minicom to see exactly what is going
I would appreciate better solutions, if anyone has one.
On Thursday 01 December 2005 09:13, jeff wrote:
> No, I want them to log all the time. I don't want to have to be in
> minicom for this to work. Idealy, id like to tap into them with
> something like logger.
> Nicholas Leippe wrote:
> > On Thursday 01 December 2005 08:16 am, jeff wrote:
> >>I have several systems that have their console redirected to serial and
> >>are connected to another machine (monitor). I am able to use minicom to
> >>access all these, but I'd like to log everything that comes across the
> >>com port as well. Any suggestions?
> > Minicom has logging features built in. Is this not what you mean?
More information about the PLUG