LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-20-2003, 10:58 PM   #1
do1do
LQ Newbie
 
Registered: Nov 2003
Posts: 4

Rep: Reputation: 0
Smile redirection process stdout


My embedded system have a industrial computer,the industrial PC run a program automatically while it boot,because I had add a command line in the rc.local,the program can display its status in realtime.I can telnet to the industrial PC with root user,now is the question:How can I watch the program's stdout in the industiral PC ,or redirection the process stdout?

Thank you for any suggestion!
 
Old 11-21-2003, 05:53 AM   #2
jim mcnamara
Member
 
Registered: May 2002
Posts: 964

Rep: Reputation: 36
tee takes stdout and redirects it wherever and also sends it to the original stdout.

Code:
mything tee somefile
will write to both the somefile file and to stdout.
 
Old 11-23-2003, 10:06 PM   #3
do1do
LQ Newbie
 
Registered: Nov 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you for your tip,the tee command can redirection the stdout to a file and stdout,but I want to redirection the stdout of a process which is running,I can get the process ID by " ps -al",I don't want to stop and restart the process,I just want to see the process stdout.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie on forking child process and I/O redirection neo_in_matrix Programming 4 09-16-2005 04:05 AM
what is stdout stefaandk Linux - Newbie 1 09-06-2005 08:20 PM
redirect stdin/stdout of running process xtravar Linux - Software 3 03-06-2004 08:54 PM
redirection the process stdout do1do Linux - Security 3 11-24-2003 12:39 AM
stdout for a background process GOLDF1NG3R Linux - General 3 11-14-2001 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:26 PM.

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
Open Source Consulting | Domain Registration