summary:tty question

From: Carl Ma <carl_ma_at_ScotiaCapital.com>
Date: Mon Feb 17 2003 - 09:41:16 EST
Hello all,

Regarding the pty question, I can use adb to find the current system setting for 
npty:
#echo "npty/D" | adb -k
48

Then I can launch rlogin windows as many as the system can support. That means  
Solaris 8 doesn't have the pty limitation. However when I try to run the 
following script:

#!/bin/sh
 A=0
 while .
 do
 echo **
 echo "Open $A sessions"
 echo **
 rsh <hostname> sleep 36000 &
 A=`expr $A + 1`
 echo "**** $A ****"
 done

It will give the error message - "rcmd: socket: Cannot assign requested address" 
when A reaches 164. I know this is not pty setting problem but BSD rsh 
limitation. Just wonder if there is an enhanced rsh.

thanks in advance,

carl







             \\\___/// 
            \\  - -  //
             (  @ @  )
 +---------oOOo-(_)-oOOo-------------+
 |          /_/_/    /_/_/_/_/_/     | 
 |         _/_/        _/_/          |
 |        _/_/        _/_/           |
 |       _/_/        _/_/            |
 |      /_/_/       /_/_/            |
 |    Carl E. Ma - (416)863-7731     |
 |     carl_ma@scotiacapital.com     | 
 +------------------Oooo-------------+
            oooO   (   )
           (   )    ) /
            \ (    (_/
             \_)
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Feb 17 09:52:46 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:03 EST