User`s manual

Table Of Contents
W406-LX User’s Manual Managing Embedded Linux
3-6
The enabled daemons will be available after you reboot the system.
192.168.3.127 – PuTTY
root@Moxa:~# ps
PID USER USZ STAT COMMAND
1 root 1316 S init [3]
2 root 0 SW< [kthreadd]
3 root 0 SW< [ksoftirqd/0]
4 root 0 SW< [events/0]
5 root 0 SW< [khelper]
41 root 0 SW< [kblockd/0]
51 root 0 SW< [khubd]
54 root 0 SW< [kseriod]
72 root 0 SW [pdflush]
73 root 0 SW [pdflush]
74 root 0 SW< [kswapd0]
75 root 0 SW< [aio/0]
740 root 0 SW< [mtdblockd]
787 root 0 SW< [scsi_eh_1]
788 root 0 SW< [usb-storage]
799 root 0 SW< [rpciod/0]
813 root 0 SWN [jffs2_gcd_mtd3]
819 root 1392 S smsd
929 root 1360 S /bin/inetd
937 root 12580 S /usr/bin/httpd –k start –d /etc/apache
940 bin 1300 S /bin/portmap
943 root 2460 S /bin/sh –login
948 root 1360 S /bin/snmpd
954 root 1300 S /bin/egprsagent
955 root 1280 S /bin/reportip
958 root 1536 S /sbin/getty 115200 tty1
969 nobody 12604 S /usr/bin/httpd -k start -d /etc/apache
970 nobody 12604 S /usr/bin/httpd -k start -d /etc/apache
971 nobody 12604 S /usr/bin/httpd -k start -d /etc/apache
972 nobody 12604 S /usr/bin/httpd -k start -d /etc/apache
973 nobody 12604 S /usr/bin/httpd -k start -d /etc/apache
1510 root 1276 S /tmp/tcpserver
1511 root 2164 R ps
root@Moxa:~#
Setting the Run-Level
In this section, we outline the steps you should take to set the Linux run-level and execute requests.
Use the following command to enable or disable settings:
192.168.3.127 – PuTTY
root@Moxa:/ect/rc.d/rc3.d# ls
S20snmpd
S99showreadyled S99rmnologin
root@Moxa:/etc/rc.d/rc3.d#
#cd /etc/rc.d/init.d
Edit a shell script to execute
/root/tcps2-release
and save to
tcps2
as an example.
#cd /etc/rc.d/rc3.d
#ln –s /etc/rc.d/init.d/tcps2 S60tcps2
SxxRUNFILE stands for
S: start the run file while linux boots up.
xx: a number between 00-99. Smaller numbers have a higher priority.
RUNFILE: the file name.