Add the following line to the file.
set pt_cnt=valueset npty=same_value_as_pt_cnt set sad_cnt=2_times_pt_cnt value set nautopush=same_value_as_ pt_cnt |
set pt_cnt |
Sets the number of System V ptys. |
set npty |
Sets the number of BSD ptys. |
set sadcnt |
Sets the number of STREAMS addressable devices. |
set nautopush |
Sets the number of STREAMS autopush entries and should be two times the value of sadcnt. |
Exit the file, saving changes.
Verify the pt_cnt value change.
# grep pt_cnt /etc/system set pt_cnt=256 |
Instruct the system to reconfigure upon rebooting.
$ touch /reconfigure |
Reboot the system.
The following example increases the number of ptys to 128.
set pt_cnt=128 set npty=128 set sadcnt=256 set nautopush=128 |