Okay, bear with me on this. I'm using a program called BFGminer, which hopefully you know is a bitcoin mining program. Anyway. It updates every second a few lines that look like this:
DEVICE 0: xxxx DEVICE 1: xxxx
This is just the basics of what I am concerned about. I need a way to view these few lines from a terminal window if possible. The only issue that I have is that I can not seem to get grep to update the pipe I have coming into it.
I have the command running on another machine, and that machine also has a screen with BFGminer running.
So to access BFGminer's window, I am running a script to
ssh firstname.lastname@example.org screen -R
This gets me to the screen, but I have to press ctrl+A, then D to detach it so it will continue to run.
If I run
ssh email@example.com screen -R | grep "^ DEV"
I can view all devices connected. Good so far. However, it does not update every few seconds like I need it to...
EDITED: figured out what to do. See answer.