R2511-HP MSR Router Series Terminal Access Configuration Guide(V5)
73
pid=`ps -ef | grep ttyd | awk '{if ($3 == 1) print $0}' | awk '{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 /sbin/rc2.d/S99ttyd
# ln -s /sbin/init.d/ttyd /sbin/rc2.d/K00ttyd
Installing and using ttyd administration program ttyadm
For more information, see "Installing and using ttyd administration program ttyadm."
Installing and configuring redhat Linux server
Installing device drivers
You can choose to install device drivers using a floppy disk or FTP.
Using the floppy disk
For more information, see "Using a floppy disk."
Using FTP
For more information, see "Using FTP."
Configuration prerequisites
Setting the maximum number of open files
By default, Red Hat Linux supports up to 1024 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 4096 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:
[root@redhat root]# ulimit -a
core file size (blocks, -c) 0










