Moxa Technologies user manual UC-7420/7410 User’s Manual Managing Embedded Linux

Models: UC-7420/7410

1 106
Download 106 pages 2.64 Kb
Page 47
Image 47

UC-7420/7410 User’s Manual

 

Managing Embedded Linux

 

 

 

 

 

 

 

192.168.3.127 – PuTTY

 

 

 

 

 

 

 

 

 

 

root@Moxa:~# cd /etc

 

 

 

 

root@Moxa:/etc# ps -ef

 

 

 

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

1256

S

[ixp425 ixp0]

 

 

38

root

S

stdef

 

 

36

root

1368

S

[ixp425 ixp1]

 

 

47

root

S

/usr/sbin/inetd

 

 

53

root

4464

S

/usr/sbin/httpd

 

 

54

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

 

 

104

root

1556

S

/usr/sbin/rpc.statd

 

 

108

root

4044

S

/usr/sbin/snmpd –s –l /dev/null

 

 

110

root

2828

S

/usr/sbin/snmptrapd -s

 

 

139

root

1364

S

/sbin/cardmgr

 

 

143

root

1756

S

/usr/sbin/rpc.nfsd

 

 

145

root

1780

S

/usr/sbin/rpc.mountd

 

 

152

root

2960

S

/usr/sbin/sshd

 

 

160

root

1272

S

/bin/reportip

 

 

161

root

3464

S

/bin/massupfirm

 

 

162

root

1532

S

/sbin/getty 115200 ttyS01

 

 

163

root

1532

S

/sbin/getty 115200 ttyS1

 

 

166

root

3464

S

/bin/massupfirm

 

 

167

root

3464

S

/bin/massupfirm

 

 

170

root

3652

S

/usr/sbin/sshd

 

 

171

root

2196

S

–bash

 

 

182

root

1592

S

ps -ef

 

 

root@Moxa:/ect#

 

 

 

 

 

 

 

 

 

 

 

 

 

 

To run a private daemon, you can edit the file rc.local, as follows:

#cd /etc/rc.d #vi rc.local

192.168.3.127 – PuTTY

root@Moxa:~# cd /etc/rc.d root@Moxa:/etc/rc.d# vi rc.local

Next, use the vi open your application program. We use the example program tcps2-release, and put it to run in the background.

192.168.3.127 – PuTTY

#!/bin/sh

#Add you want to run daemon /root/tcps2-release &~

Then you will find the enabled daemons after you reboot the system.

3-7

Page 47
Image 47
Moxa Technologies user manual UC-7420/7410 User’s Manual Managing Embedded Linux