I would like picocom to log serial data on a remote computer, without having to keep my ssh session to the remote computer alive.
I have tried:
picocom <my options>
This dies when I logout.
picocom <my options> &
No output on terminal, and exiting
C-a C-x leaves the job as stopped, it doesn't kill it (I need to
kill -9, a simple
kill on the job does not work. I then have to manually clean the tty lock in
picocom <my options> > tmp/data.log&
then in another ssh session:
tail -f tmp/data.log
No data cames out in the file
bash -c "picocom --baud 115200 /dev/ttyACM1 > /home/pi/tmp/data.log" &
No output to the file either. The job becomes "Stopped" right away.
nohup sh -c "picocom --baud 115200 /dev/ttyACM1 > /home/pi/tmp/data.log" &
I get the start output of
picocom in the tailed file, but then the job is exited.
Good to know as well:
picocom does not react to
My questions are:
- is it at all possible to run
picocomin the background?
- what alternatives are there to log serial terminal without an open session?