![](/images/new-backgrounds/1174773/17477395x1.webp)
|
| Managing Embedded Linux | |||||
|
|
|
|
| |||
| 192.168.3.127 – PuTTY |
|
| ||||
|
|
|
|
|
| ||
| root@Moxa:~# ps |
|
|
| |||
| PID | Uid | VmSize Stat Command |
| |||
| 1 | root | 1296 | S | init |
| |
| 2 | root |
|
| S | [keventd] |
|
| 3 | root |
|
| S | [ksoftirqd_CPU0] |
|
| 4 | root |
|
| S | [kswapd] |
|
| 5 | root |
|
| S | [bdflush] |
|
| 6 | root |
|
| S | [kupdated] |
|
| 7 | root |
|
| S | [mtdblockd] |
|
| 8 | root |
|
| S | [khubd] |
|
| 10 | root |
|
| S | [jffs2_gcd_mtd3] |
|
| 32 | root |
|
| D | [ixp425_csr] |
|
| 34 | root |
|
| S | [ixp425 ixp0] |
|
| 36 | root | 1256 | S | [ixp425 ixp1] |
| |
| 38 | root | S | stdef |
| ||
| 47 | root | 1368 | S | /usr/sbin/inetd |
| |
| 53 | root | 4464 | S | /usr/sbin/httpd |
| |
| 63 | nobody | 4480 | S | /usr/sbin/httpd |
| |
| 64 | nobody | 4480 | S | /usr/sbin/httpd |
| |
| 65 | nobody | 4480 | S | /usr/sbin/httpd |
| |
| 66 | nobody | 4480 | S | /usr/sbin/httpd |
| |
| 67 | nobody | 4480 | S | /usr/sbin/httpd |
| |
| 92 | bin | 1460 | S | /sbin/portmap |
| |
| 97 | root | 1264 | S |
| ||
| 105 | root | 1556 | S | /usr/sbin/rpc.statd |
| |
| 109 | root | 4044 | S | /usr/sbin/snmpd |
| |
| 111 | root | 2832 | S | /usr/sbin/snmptrapd |
| |
| 140 | root | 1364 | S | /sbin/cardmgr |
| |
| 144 | root | 1756 | S | /usr/sbin/rpc.nfsd |
| |
| 146 | root | 1780 | S | /usr/sbin/rpc.mountd |
| |
| 153 | root | 2960 | S | /usr/sbin/sshd |
| |
| 161 | root | 1272 | S | /bin/reportip |
| |
| 162 | root | 3464 | S | /bin/massupfirm |
| |
| 163 | root | 1532 | S | /sbin/getty 115200 ttyS0 |
| |
| 164 | root | 1532 | S | /sbin/getty 115200 ttyS1 |
| |
| 166 | root | 3464 | S | /bin/massupfirm |
| |
| 168 | root | 3464 | S | /bin/massupfirm |
| |
| 171 | root | 3652 | S | /usr/sbin/sshd |
| |
| 172 | root | 2200 | S |
| ||
| 174 | root | 1592 | S | ps |
| |
| root@Moxa:~# |
|
|
|
|
| |
|
|
|
|
|
|
|
|
Setting the Run-Level
In this section, we outline the steps you should take to set the Linux
192.168.3.127 – PuTTY
root@Moxa:/ect/rc.d/rc3.d# ls
S20snmpd S55ssh
S24pcmcia S99rmnologin root@Moxa:/etc/rc.d/rc3.d#
#cd /etc/rc.d/init.d
Edit a shell script to
#cd /etc/rc.d/rc3.d
#ln