01-18-2005
There is an environment variable called TMOUT that contains the default number of seconds before a shell timeout occurs. If your session is idle for that duration, you get booted. You can however, over ride this variable (assuming that your local sys admin did not make this a read only variable). To do so in Korn Shell:
export TMOUT=0
10 More Discussions You Might Find Interesting
1. IP Networking
I am led to understand that there when a port is bound for a tcp connection...once that connection is closed there is a timeout period before that port can be reused ... and the software I am using shows that. How long is this timeout - what affects it and is there anyway to reuce the timeout? (5 Replies)
Discussion started by: peter.herlihy
5 Replies
2. UNIX for Dummies Questions & Answers
Does anyone know a way to log into a telnet server with username and password all with one command? I have to do this remotely. I can do this with FTP with the following command under windows:
ftp -s:c:\dir\test2.txt 10.0.0.207
The "-s:filename" option is just a list of commands that occurs... (2 Replies)
Discussion started by: ober5861
2 Replies
3. Solaris
Hello All,
I have a question. I have two V480 systems that can telnet to other systems on our network, but lo cannot receive a telnet from other systems.
I've check the usual .rhosts, env and several other files such as the telnetrc
files with no luck.
I've tried all avenues before issuing... (8 Replies)
Discussion started by: mr-synapse
8 Replies
4. HP-UX
When using telnet connect to HP unix 10, it will get a pty/ttyxx terminal,
but using telnet connect to HP unix 11, it will get a pts/tx terminal.
I want to ask is, can I using telnet connect to HP unix 11 and get a pty/ttyxx terminal ?? :confused:
thx a lot (3 Replies)
Discussion started by: zetadhell
3 Replies
5. UNIX for Dummies Questions & Answers
How do I get back to Unix prompt while telneting to a router w/out exit from the telnet session? Thanks (2 Replies)
Discussion started by: oppiz
2 Replies
6. Shell Programming and Scripting
Somewhat long story:
I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage.
This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies
7. Solaris
Hi everyone.
I am newb at solaris i have 2 question
1. i am finding a way to prevent separate users to telnet similar like /etc/ftpd/ftpusers in Solaris system
I know a way to disable user ftp by force user shell=/bin/false
2. or any program can do a chroot telnet user like proftpd :D ... (5 Replies)
Discussion started by: tien86
5 Replies
8. Shell Programming and Scripting
Hi all,
I have written a small expect script which should spawn a telnet session login and execute some commands.
#!/usr/bin/expect -f
spawn telnet $env(IP)
match_max 100000
expect "login:"
send -- "******\n"
expect -exact "Password:"
send -- "****\n"
expect "%"
Now I have got... (2 Replies)
Discussion started by: stinkefisch
2 Replies
9. IP Networking
Hello!
I'm writing a small telnet client using Erlang and the gen_tcp library.
I receive IAC WILL ECHO and IAC WILL SUPPRESS_GO_AHEAD
which I respond to.
Then I receive various text output from the server, and then this:
resize: unknown character, exiting.
I'm curious as to why I do... (1 Reply)
Discussion started by: Gustav
1 Replies
10. Shell Programming and Scripting
Hey Guys,
My problem:
I have a script that will be querying the database every minute to see if it gets a response, the response its querying for is "UP" in a table i made called dbup in the database.
Now, I am trying to add the component to implement a timeout if the script does not get a... (2 Replies)
Discussion started by: mo_VERTICASQL
2 Replies
LEARN ABOUT SUNOS
libmlib_mt
libmlib_mt(3LIB) libmlib_mt(3LIB)
NAME
libmlib_mt - multi-threaded mediaLib
SYNOPSIS
cc [ flag... ] file... -lmlib_mt -lmlib [ library... ]
#include <mlib.h>
Interfaces in this library provide functions for multimedia processing. Multi-threaded (MT) mediaLib is a software layer developed on top
of mediaLib using OpenMP. When it is used with a large data set on a multi-processor system, MT mediaLib will partition data into subsets
and process the subsets in parallel, thus greatly improving performance of applications that use mediaLib.
INTERFACES
The shared object libmlib_mt.so.2 provides the same public interfaces as those defined in libmlib(3lib). See intro(3) for additional infor-
mation on shared object interfaces.
There are two ways to use MT mediaLib.
1. Pre-load a multi-threaded mediaLib library during runtime by setting the LD_PRELOAD environment variable as follows before starting
your application, in Bourne/Korn shell:
LD_PRELOAD=libmlib_mt.so
export LD_PRELOAD
or in C shell:
setenv LD_PRELOAD libmlib_mt.so
In this way, you can take advantage of MT mediaLib without rebuilding your application.
2. Link your application with a multi-threaded mediaLib library directly as shown under . In this way, an MT mediaLib library is always
used whenever your application is started.
The parallelization of MT mediaLib is controlled, in part, by the PARALLEL environment variable. You can change its setting to adjust the
degree of parallelization before starting your application, in Bourne/Korn shell:
PARALLEL=n
export PARALLEL
or in C shell:
setenv PARALLEL n
where n is a positive integer for number of threads. Note that other factors also affect the degree of parallelization in MT mediaLib.
/usr/lib/libmlib_mt.so.2 shared object
/usr/lib/64/libmlib_mt.so.2 64-bit shared object
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWmlibt |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
Intro(3), libmlib(3lib), attributes(5)
30 Sep 2005 libmlib_mt(3LIB)