Moxa Technologies UC-7420/7410 Network Card User Manual


 
UC-7420/7410 User’s Manual Getting Started
2-18
4. The program should start running in the background. Use either the
#jobs
or
#ps –ef
command to check if the tcps2 program is actually running in the background.
#jobs // use this command to check if the program is running
192.168.3.127 – PuTTY
root@Moxa:~# ls –al
drwxr—xr-x 2 root root 0 Jun 12 02:14
drwxr—xr-x 15 root root 0 Jan 1 1970
-rw------- 1 root root 899 Jun 10 08:11 .bash_history
-rw-r--r-- 1 root root 4996 Jun 12 02:15 tcps2-release
root@Moxa:~# chmod +x tcps2-release
root@Moxa:~# ls -al
drwxr—xr-x 2 root root 0 Jun 12 02:14
drwxr—xr-x 15 root root 0 Jan 1 1970
-rw------- 1 root root 899 Jun 10 08:11 .bash_history
-rwxr-xr-x 1 root root 4996 Jun 12 02:15 tcps2-release
root@Moxa:~# ./tcps2-release &
[1] 187
start
root@Moxa:~# jobs
[1]+ Running ./tcps2-release &
root@Moxa:~#
NOTE Use the
kill
command for job number 1 to terminate this program:
#kill %1
#ps -ef // use this command to check if the program is running
192.168.3.127 – PuTTY
[1]+ Running ./tcps2-release &
root@Moxa:~# 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 S [ixp425 ixp0]
36 root D [ixp425 ixp1]
38 root 1256 S stdef
46 root 1368 S /usr/sbin/inetd
52 root 4464 S /usr/sbin/httpd
53 nobody 4480 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
88 bin 1460 S /sbin/portmap
100 root 1556 S /usr/sbin/rpc.statd
104 root 4044 S /usr/sbin/snmpd –s –l /dev/null
106 root 2832 S /usr/sbin/snmptrapd -s
135 root 1364 S /sbin/cardmgr
139 root 1756 S /usr/sbin/rpc.nfsd
141 root 1780 S /usr/sbin/rpc.mountd
148 root 2960 S /usr/sbin/sshd
156 root 1272 S /bin/reportip
157 root 1532 S /sbin/getty 115200 ttyS0