ntpshmmon command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ntpshmmon: command not found
or when using sudo you get the following error message
sudo: ntpshmmon: command not found
Solutions to ntpshmmon: command not found
How To Fix ntpshmmon: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ntpshmmon is provided by gpsd package.
gpsd is:
The gpsd service daemon can monitor one or more GPS devices connected to a host computer, making all data on the location and movements of the sensors available to be queried on TCP port 2947.
With gpsd, multiple GPS client applications can share access to devices without contention or loss of data. Also, gpsd responds to queries with a format that is substantially easier to parse than the different standards emitted by GPS devices.
This also includes common tools ubxtool and gpsctl for device configuration of the local hardware as well as a ntpshmmon to check generated refclock data.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gpsd
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gpsd.
sudo apt -y install gpsd
Or if you have aptitude installed you can use the following command.
sudo aptitude install gpsd
Summary
In this tutorial we learn how to fix ntpshmmon command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.