=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2021.10.13 10:35:35 =~=~=~=~=~=~=~=~=~=~=~= [root@hermes:/home/mick.durkin]$ gpsd -n /dev/ttyS0 [root@hermes:/home/mick.durkin]$ ./gpsdebuginfo ++ id -u + '[' 0 '!=' 0 ']' + id uid=0(root) gid=0(root) groups=0(root) + uname -a Linux hermes 4.18.0-305.19.1.el8_4.x86_64 #1 SMP Wed Sep 15 15:39:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux + cat /etc/centos-release /etc/os-release /etc/redhat-release /etc/system-release CentOS Linux release 8.4.2105 NAME="CentOS Linux" VERSION="8" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="8" PLATFORM_ID="platform:el8" PRETTY_NAME="CentOS Linux 8" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:8" HOME_URL="https://centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-8" CENTOS_MANTISBT_PROJECT_VERSION="8" CentOS Linux release 8.4.2105 CentOS Linux release 8.4.2105 + command -v gpsd /usr/local/sbin/gpsd + gpsd -V gpsd: 3.23.2~dev (revision release-3.23.1-67-gfb61455b5) + gpsd -h + grep '^#.*enabled' # Control socket for hotplug notifications enabled. # DBUS export enabled. # KPPS enabled. # Magic Hat enabled. # Netfeed enabled. # NTRIP enabled. # Shared memory export enabled. # Socket export enabled. # systemd socket activation enabled. + command -v sockstat + command -v lsof /usr/bin/lsof + lsof -iTCP:2947 -s TCP:LISTEN COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME gpsd 1223928 nobody 4u IPv4 4917397 0t0 TCP localhost:gpsd (LISTEN) gpsd 1223928 nobody 5u IPv6 4917398 0t0 TCP localhost:gpsd (LISTEN) + lsof -c gpsd + sed -nE '1p;/CHR|LISTEN/p' COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME gpsd 1223928 nobody 0u CHR 1,3 0t0 3075 /dev/null gpsd 1223928 nobody 1u CHR 1,3 0t0 3075 /dev/null gpsd 1223928 nobody 2u CHR 1,3 0t0 3075 /dev/null gpsd 1223928 nobody 4u IPv4 4917397 0t0 TCP localhost:gpsd (LISTEN) gpsd 1223928 nobody 5u IPv6 4917398 0t0 TCP localhost:gpsd (LISTEN) gpsd 1223928 nobody 7u CHR 4,64 0t0 42 /dev/ttyS0 gpsd 1223928 nobody 8u CHR 250,0 0t0 4916497 /dev/pps0 gpsdebugi 1223938 root 0u CHR 136,0 0t0 3 /dev/pts/0 gpsdebugi 1223938 root 1u CHR 136,0 0t0 3 /dev/pts/0 gpsdebugi 1223938 root 2u CHR 136,0 0t0 3 /dev/pts/0 + ps ax + sed -nE '1p;/gpsd/p' PID TTY STAT TIME COMMAND 1223928 ? S