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)...
在 Linux 下 top 工具可以显示 cpu 的平均利用率(user,nice,system,idle,iowait,irq,softirq,etc.),可以显示每个 cpu 的利用率。但是无法显示每个线程的 cpu 利用率情况,这时就可能出现这种情况,总的 cpu 利用率中 user 或 system 很高,...