• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Windows and Linux

 
Nitti Lin
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have Tomcat running on Linux, that machine has no monitor. I need to see the Tomcat console window on that box from my machine to the error message printed on that machine. I'm using Windows 2000.

Does anyone know how to see Tomcat console window on Linux box from my Windows 2000 machine?

Please advise, thanks.

Nitti
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
  • Use either telnet or ssh to log into the Linux box.
  • cd to the tomcat/logs directory.
  • Type: tail -f catalina.out


  • Where the 'head' command shows you the first n lines in a file, the tail program shows the last n lines.
    The '-f' switch (follow) tells tail to continue printing new lines as they are added to the file.
    [ February 13, 2005: Message edited by: Ben Souther ]
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic