09-30-2003
What you're proposing would actually be very difficult to implement. The output from tail -f would need to go to a program that would be a homebrew telnet server.
And what is supposed to happen to the output from tail -f if no one has connected to the telnet server? Just discard it?
And when the log file gets too big...then what? Kiill the tail -f and roll the log file? By the time you get tail -f going again, you may have missed some lines. Is that acceptable?
I would think that patrol can do this sort of thing via snmp. Have you looked into that?
If patrol can't handle this, then I would package up the log entries in little files and retrieve them via ftp.
And one thing to not try is syslog. It moves error messages around via UDP and does not care if they get lost.
10 More Discussions You Might Find Interesting
1. IP Networking
I am trying to connect via DBACCESS and Informix server to a server on a different computer. When I execute the connect command from dbaccess I get the following message,
Exec format error cannot bind a name to the port.
As far as I know the port is not being used by another client.
How... (1 Reply)
Discussion started by: lopez
1 Replies
2. UNIX for Dummies Questions & Answers
Hi
Is there any way to restrict the TCP-IP port usage.
I want to restrict TCP-IP port 1500/1550 to the oracle osuser.
Tanks in advance.
Remi (2 Replies)
Discussion started by: remivisser
2 Replies
3. Solaris
Hi all
I haven't had much experience with Solaris 10 but we've started running into a problem where a process hangs, it is killed and leaves a zombie process. The sysadmins are saying this zombie process is locking a tcp port and not allowing the process to start up.
The process is a usually... (5 Replies)
Discussion started by: casphar
5 Replies
4. UNIX for Dummies Questions & Answers
Hello, I have a service running (ODBC) and every now and then it will hang and I will have to stop and restart the service. The problem is when I stop the service, it indeed stops the service, but netstat reports a tcp port still open with the fin_wait_2 status. Then I must close the client... (1 Reply)
Discussion started by: raidzero
1 Replies
5. UNIX for Advanced & Expert Users
We have AIX4.1 (yeah I know - we're upgrading to 5 soon) and have been running almost entirely on ASynch direct connects. We're now converting to TCP/IP thin client terminals and PC's. One of processes was a Turn Around Time screen job that would constantly update various information from 6... (4 Replies)
Discussion started by: gamesman02
4 Replies
6. Shell Programming and Scripting
I have multiple processes running the same program on my linux machine. For each process I want to be able to use a unique (available) TCP port. I have thought of using netstat to check which ports are available for use however, the time-window between checking and selecting might expose some race... (1 Reply)
Discussion started by: timmylita
1 Replies
7. Programming
Does anyone know if there is a C API call to get the status of a TCP port? As opposed to running netstat and parsing the results. At the moment I have to attempt to bind() and pick up on the address in use error which isn't very elegant
Thanks
---------- Post updated at 10:42 AM ----------... (0 Replies)
Discussion started by: janra
0 Replies
8. IP Networking
Hello all,
I am loosing the diameter connection between two servers and when the connection is trying to comes up again i see the following message in the tracer.
and after 1 second the connection resets.
As far i know the connection stay in state TIME_WAIT for a while(60 seconds in my... (1 Reply)
Discussion started by: @dagio
1 Replies
9. Programming
Hello,
I'm trying to write a small c application to test a tcp port. This works fine for the most part but the default timeout on the connect is very long. I have been reading many posts but and it looks like I need to set the socket to be non-blocking and poll for a result. I have been totally... (2 Replies)
Discussion started by: tjones1105
2 Replies
10. IP Networking
i want to kill a tcp connection by killing its pid
with netstat -an i got the tcp ip connection on port 5914
but when i type ps -a or ps-e there is not such process running on port 5914
is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies
LEARN ABOUT DEBIAN
tcplisten
TCPCONNECT(1) General Commands Manual TCPCONNECT(1)
NAME
tcplisten - general TCP/IP server
SYNOPSIS
tcplisten [-irv] [localaddr] port
DESCRIPTION
tcplisten waits for a TCP/IP connection on port. If a localaddr parameter is given, tcplisten will bind to that IP address. Otherwise
tcplisten will accept connections to any of the local machines IP addresses. Data received from the client is printed on standard output,
and data read from standard input is sent to the client. When end-of-file is reached on both standard input and the TCP/IP connection,
tcplisten terminates.
OPTIONS
-i Terminate at end-of-file on standard input; don't wait for the client to close the connection.
-r Terminate when the remote client closes the connection; don't wait for end-of-file on standard input.
-v Verbose mode. Prints a message to standard error about the origins (host and port) of the client.
SEE ALSO
tcpconnect(1), telnet(1), mini-inetd(1), tcpbug(1).
BUGS
The names of the options are not yet finalized, and may change at a future release.
1997 April 13 TCPCONNECT(1)