LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-05-2003, 10:04 AM   #1
Facekhan
LQ Newbie
 
Registered: Mar 2003
Distribution: Redhat 8.0, Redhat 9.0, Suse 9.0
Posts: 8

Rep: Reputation: 0
SSH-Want to see program output without restarting it.


I am running a half-life dedicated server and I want to be able to log into the box via ssh and have the output from the server program go the ssh window on the client without having to restart the server. I am logged in as the same user that runs the server.

Can I use the "watch" command for this. Such as "watch hlds" or will that restart the server or do nothing at all?
 
Old 05-05-2003, 10:13 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
i'd say that you want to execute the program inside a "screen" session, and then you can call that virtual terminal back up whenever you want from any login.
 
Old 05-05-2003, 10:45 AM   #3
Facekhan
LQ Newbie
 
Registered: Mar 2003
Distribution: Redhat 8.0, Redhat 9.0, Suse 9.0
Posts: 8

Original Poster
Rep: Reputation: 0
I did not really get what you said

well I got curious and tried watch but it did not seem to work.

What is a "screen" session? How would I do that?
 
Old 05-05-2003, 10:46 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
it's a program, install it, read the docs. not used it myself, but that's what it does.
 
Old 05-05-2003, 03:11 PM   #5
Facekhan
LQ Newbie
 
Registered: Mar 2003
Distribution: Redhat 8.0, Redhat 9.0, Suse 9.0
Posts: 8

Original Poster
Rep: Reputation: 0
Where would the docs me located? Who makes "screen"?
I seem to have it included with redhat 8 but I can't make much sense of the options.

Just to clarify. What I want is to be able to see the outputs from the processes running under my account already when I log in remotely via ssh. I want to remotely manage and view what is already running in Konsole. I am basically looking for some equivalent to remote desktop in windows xp.

There has to be a simple way to do this since linux is supposed to be the server os of choice.




Last edited by Facekhan; 05-05-2003 at 03:15 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tk: Storing Output of Program Kenji Miyamoto Programming 4 06-25-2005 02:57 AM
why output is wrong ( C Program ) minil Programming 7 02-23-2005 07:05 AM
C function to execute a program and return the output of the program ryan.n Programming 4 08-14-2004 11:11 PM
After restarting program keeps starting up with system Relja Linux - General 3 07-23-2004 02:07 PM
Output vanishes using TELNET or SSH pcardout Linux - General 2 06-25-2003 11:46 AM


All times are GMT -5. The time now is 02:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration