Download Moxa UC-7408
Transcript
UC-7408 User’s Manual 4. Getting Started 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 drwxr—xr-x 15 root root 0 Jan -rw------- 1 root root 899 Jun -rw-r--r-- 1 root root 4996 Jun root@Moxa:~# chmod +x tcps2-release root@Moxa:~# ls -al drwxr—xr-x 2 root root 0 Jun drwxr—xr-x 15 root root 0 Jan -rw------- 1 root root 899 Jun -rwxr-xr-x 1 root root 4996 Jun root@Moxa:~# ./tcps2-release & [1] 187 start root@Moxa:~# jobs [1]+ Running ./tcps2-release root@Moxa:~# NOTE 12 1 10 12 02:14 1970 08:11 .bash_history 02:15 tcps2-release 12 1 10 12 02:14 1970 08:11 .bash_history 02:15 tcps2-release & 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 2-19