Hi,
I'm using a bourne shell to kick off a 3rd Pty app. This app uses Orbix. When I exit from the telnet session which started the app or hit CTRL-C at the command line, the orbix process dies, yet all other process remain.
I've tried starting the app as a background process, but it still... (1 Reply)
Dear Unix Gurus,
Here is my query.
If i start a script,it inturn calls many other scripts ..and most of them continue to run in parallel.
Suppose,if i want to stop my script for some reason,i need to kill -9 each of the processes running.It becomes clumsy if the sub processes r more.
... (15 Replies)
I want to check whether the variable read from the console is number or character , so i used echo $option|grep and checked the reuslt returned by grep cmd using $?
But since I use echo the value is getting printed in the screen , I want to supress the o/p. Can anyone suggest how this can be... (1 Reply)
Hi,
I have a situation where I am writing a programme that runs a series of long running PHP scripts that can take anything from 20 minutes to 10 hours to execute.
I have a solution half implemented where I use via php exec(wget <location to command>) and get the process id back.
This... (1 Reply)
So this one just plain confuses me. I have a bunch of somewhat CPU intensive processes that all communicate using a shared memory region. Some of these programs are threaded and some also change the scheduling to FIFO or round robin. The good news is that everything works as long as I spawn... (3 Replies)
Hi Guys,
I'm completely new to bash and trying to write a script to spawn a telnet session to retrieve the RSSI value of my device and log the average value of the RSSI over 20 samples. I know that my command does return the RSSI value successfully but my bash scripting is letting me down.
I'm... (5 Replies)
Hi,
I am using cygwin.
Below is my script that reads all ip ports for iplist.txt and telnets to it.
(
file="iplist.txt"
while read line
do
echo $line
echo $(telnet $line)
done <"$file"
) > output2.txt
~
while the output2.txt gets the first echo but does not show the second... (2 Replies)
Hi guys,
I'm writing a script on a Solaris 10 server (server A) that needs to telnet 2 servers (server B & server C) and get a certain process count from these 2 servers.
Then on server A, I check if both counts are greater than 17, I do a sendmail to concerned people.
For the telnet part,... (7 Replies)
Hi,
When I run the command "print_manifest | grep "Main Memory", I get the note :
# /opt/ignite/bin/print_manifest | grep "Main Memory"
NOTE: Could not read the /etc/resolv.conf file.
Main Memory: 196498 MB
#
How do I suppress the part :
NOTE: Could not read the... (4 Replies)
Discussion started by: anaigini45
4 Replies
LEARN ABOUT BSD
telnetd
TELNETD(8) System Manager's Manual TELNETD(8)NAME
telnetd - DARPA TELNET protocol server
SYNOPSIS
/usr/libexec/telnetd
DESCRIPTION
Telnetd is a server which supports the DARPA standard TELNET virtual terminal protocol. Telnetd is invoked by the internet server (see
inetd(8)), normally for requests to connect to the TELNET port as indicated by the /etc/services file (see services(5)).
Telnetd operates by allocating a pseudo-terminal device (see pty(4)) for a client, then creating a login process which has the slave side
of the pseudo-terminal as stdin, stdout, and stderr. Telnetd manipulates the master side of the pseudo-terminal, implementing the TELNET
protocol and passing characters between the remote client and the login process.
When a TELNET session is started up, telnetd sends TELNET options to the client side indicating a willingness to do remote echo of charac-
ters, to suppress go ahead, and to receive terminal type information from the remote client. If the remote client is willing, the remote
terminal type is propagated in the environment of the created login process. The pseudo-terminal allocated to the client is configured to
operate in "cooked" mode, and with XTABS and CRMOD enabled (see tty(4)).
Telnetd is willing to do: echo, binary, suppress go ahead, and timing mark. Telnetd is willing to have the remote client do: binary, ter-
minal type, and suppress go ahead.
SEE ALSO telnet(1C)BUGS
Some TELNET commands are only partially implemented.
The TELNET protocol allows for the exchange of the number of lines and columns on the user's terminal, but telnetd doesn't make use of
them.
Because of bugs in the original 4.2 BSD telnet(1C), telnetd performs some dubious protocol exchanges to try to discover if the remote
client is, in fact, a 4.2 BSD telnet(1C).
Binary mode has no common interpretation except between similar operating systems (Unix in this case).
The terminal type name received from the remote client is converted to lower case.
The packet interface to the pseudo-terminal (see pty(4)) should be used for more intelligent flushing of input and output queues.
Telnetd never sends TELNET go ahead commands.
4.2 Berkeley Distribution November 16, 1996 TELNETD(8)