RE: Is it possible to monitor VTs via ssh?

2012-09-28 Thread craig
Good morning, When I ssh into a remote system, I am able to see what is happening on VT2 by entering the command 'cat /dev/vcs2'. I tried using tail -f to get a continuous output of the console, but it fails to ever update. Is it possible to watch another VT in real time over ssh? Thanks,

Re: Is it possible to monitor VTs via ssh?

2012-09-28 Thread Darac Marjal
On Fri, Sep 28, 2012 at 10:20:16AM -0500, cr...@gtek.biz wrote: Good morning, When I ssh into a remote system, I am able to see what is happening on VT2 by entering the command 'cat /dev/vcs2'. I tried using tail -f to get a continuous output of the console, but it fails to ever update. Is

Re: Is it possible to monitor VTs via ssh?

2012-09-28 Thread craig
On Friday, September 28, 2012 10:29, Darac Marjal mailingl...@darac.org.uk said: On Fri, Sep 28, 2012 at 10:20:16AM -0500, cr...@gtek.biz wrote: Good morning, When I ssh into a remote system, I am able to see what is happening on VT2 by entering the command 'cat /dev/vcs2'. I tried using

Re: Is it possible to monitor VTs via ssh?

2012-09-28 Thread Dom
On 28/09/12 16:20, cr...@gtek.biz wrote: Good morning, When I ssh into a remote system, I am able to see what is happening on VT2 by entering the command 'cat /dev/vcs2'. I tried using tail -f to get a continuous output of the console, but it fails to ever update. Is it possible to watch

Re: Is it possible to monitor VTs via ssh?

2012-09-28 Thread shawn wilson
On Sep 28, 2012 11:30 AM, Darac Marjal mailingl...@darac.org.uk wrote: On Fri, Sep 28, 2012 at 10:20:16AM -0500, cr...@gtek.biz wrote: Good morning, When I ssh into a remote system, I am able to see what is happening on VT2 by entering the command 'cat /dev/vcs2'. I tried using tail -f to get

Re: Is it possible to monitor VTs via ssh?

2012-09-28 Thread craig
Try tail --follow=mylogfile, this will followed the currently named mylogfile even if the old file is renamed and a new one opened, rather than following the old file which -f does. smack to the forehead I used to know that. Sadly, I even looked at the man page yesterday before posting and

Re: Is it possible to monitor VTs via ssh?

2012-09-28 Thread craig
That would work. However I think you could also have logrotate use a socket for logging (at least -ng). What you might really want to look into is splunk or graylog2 (or the other solutions I can never remember). Also, socat is another solution for playing with device io. I don't believe