Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-20-2003, 11:03 PM
|
#1
|
LQ Newbie
Registered: Nov 2003
Posts: 4
Rep:
|
redirection the 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:When I telnet to the remote PC,How can I watch the process stdout which are running,or redirection the process stdout?
Thank you for any suggestion!
|
|
|
11-23-2003, 07:37 AM
|
#2
|
Member
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631
Rep:
|
You could redirect the output to a file in /etc/rc.local and then just run tail -f on that file.
|
|
|
11-23-2003, 09:56 PM
|
#3
|
LQ Newbie
Registered: Nov 2003
Posts: 4
Original Poster
Rep:
|
a file access like stdout
Thank you for your suggestion.I think if I redirection my program's stdout to a file,I can say it is a log file.the log file will increase its size continually,inIn the other hand my disk have not enough size,only 128M,I have used 120M,I don't want to maintain the log file.Is there a kind of file presently in the linux system which have fixed size and can be circularity structure,its head link to its tail.In the other word,it can be access like stdout,always record the last data,the new data cover the old data,the file size is fixed.
|
|
|
11-24-2003, 12:39 AM
|
#4
|
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
|
A 'named pipe' might be helpful. Look at the man page for mkfifo.
|
|
|
All times are GMT -5. The time now is 03:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|