Installing and Using ttyd
Administration Program
ttyadm
Installing and
Configuring Red Hat
Linux Server
Installing Device Drivers
Configuration
Prerequisites
echo "Stop ttyd"
;;
'stop')
pid='ps -ef | grep ttyd | awk '{if ($3 == 1) print $0}' | aw
k '{print $2}''
if [ ! "$pid" = "" ]
then
kill $pid
fi
;;
esac
3 Save your configuration and exit.
4 Link the file to the startup directory.
# chmod u+x /sbin/init.d/ttyd
# ln -s /sbin/init.d/ttyd
# ln -s /sbin/init.d/ttyd
Refer to
"Installing and Using ttyd Administration Program ttyadm" on page
Using the floppy disk
Refer to
"Using a floppy disk" on page
Using FTP
Refer to
"Using FTP" on page
Setting the maximum number of open files
By default, Red Hat Linux supports up to 1,024 open files. To change the
maximum number of open files supported, use the following command:
# ulimit -n 4096
Changing the maximum number of user processes
By default, the Red Hat Linux server supports up to 4,096 user processes.
Normally, you do not need to change this value. To change it, use the following
command:
# ulimit -u 4096
Displaying system parameters
Display system parameters by using the following command:
# ulimit -a
The following contents are displayed:
Installing and Configuring Red Hat Linux Server
/sbin/rc2.d/S99ttyd
/sbin/rc2.d/K00ttyd
771.
772.
795
780.