方法1:适用于嵌入式linux
http://bbs.csdn.net/topics/360151075?page=1
linux使用脚本杀死指定名称的进程
#!/bin/ksh
ps -ef|grep -v grep|grep process_name|while read u p o
do
kill -9 $p
done
方法2:命令杀死
http://os.51cto.com/...
1 install gpsd and gpsd-client. (Ubuntu: apt-get gpsd; apt-get gpsd-client. Or download gpsd and gpsd-client rpm, then install them)
2 configure serial port or usb port , and confirm the port path (for example: /dev/ttyS0)...