Moxa RM-1602-T [20/52] Iopac rtu software rtu management

Moxa RM-1602-T [20/52] Iopac rtu software rtu management
ioPAC RTU Software RTU Management
3-6
16 root 0 SW< [aio]
17 root 0 SW< [nfsiod]
18 root 0 SW< [crypto]
23 root 0 SW [mtdblock0]
24 root 0 SW [mtdblock1]
25 root 0 SW [mtdblock2]
26 root 0 SW [mtdblock3]
27 root 0 SW [kworker/u:1]
44 root 0 SW [flush-1:0]
45 root 0 SW [flush-1:7]
49 root 0 SWN [jffs2_gcd_mtd3]
106 root 2816 S /usr/sbin/inetd
113 root 4208 S /sbin/sshd
117 root 2872 S /bin/sh /bin/rtu_agent
120 root 45440 S /bin/rtu_agent_bin
125 root 2920 S /bin/sh --login
131 root 6824 S sshd: root@ttyp0
137 root 2924 S -bash
139 root 2740 R ps
root@Moxa:/ect#
To run a private daemon, you can edit the rc.local file, as follows:
#cd /etc
#vi rc.local
root@Moxa:~# cd /etc/
root@Moxa:~# /etc/rc.d# vi rc.local
Next, use the vi command to open your application program. In this example, we use the hello_world.c
program and let it run in the background.
# !/bin/sh
if [ -f /home/autoexec.sh ]; then
/home/autoexec.sh
fi
# Add the new daemons or programs starting from the next line
/home/hello_world &~
The enabled daemons will be available after you reboot the system.
root@Moxa:~# ps
PID USER VSZ STAT COMMAND
1 root 1868 S init [3]
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 SW [kworker/0:0]
5 root 0 SW [kworker/u:0]
6 root 0 SW [rcu_kthread]
7 root 0 SW< [khelper]
8 root 0 SW [sync_supers]
9 root 0 SW [bdi-default]
10 root 0 SW< [kblockd]
11 root 0 SW [khubd]
12 root 0 SW< [rpciod]
13 root 0 SW [kswapd0]
14 root 0 SW [kworker/0:1]
15 root 0 SW [fsnotify_mark]
16 root 0 SW< [aio]
17 root 0 SW< [nfsiod]
18 root 0 SW< [crypto]
23 root 0 SW [mtdblock0]
24 root 0 SW [mtdblock1]
25 root 0 SW [mtdblock2]
26 root 0 SW [mtdblock3]
27 root 0 SW [kworker/u:1]
49 root 0 SWN [jffs2_gcd_mtd3]
106 root 2816 S /usr/sbin/inetd
113 root 4208 S /sbin/sshd
117 root 2872 S /bin/sh /bin/rtu_agent
120 root 45440 S /bin/rtu_agent_bin

Содержание

Скачать