Re: ntp time requests

Bill Wilson <[email protected]>
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
On Sat, 15 Sep 2007 23:43:19 -0400
Rio <[email protected]> wrote:

> hmm. maybe..  i have had it monitoring since 4pm my time it is now 11:30pm and 
> no data on the monitors. i have 2 ntp labels in the chart, 1 for current 
> connections and one to maintain number of connections history for 24 hrs.. 
> 
> ntp utilities report there have been 834 time requests since 4pm. the script i 
> have to run is a bit of a problem getting these stats..

Yeah, you would think some of those would have been detected.
The monitor is looking at the /proc/net/udp file where the connections
should appear.  I guess to test this would take scanning that file much more
often than the inet montor once per second to see if the port ever shows up.
It might be a bit of trouble, but in case you want to try something,
the format of the first part of each line from that file
should be the same as the docs say for the /proc/net/tcp file:

   46: 010310AC:9C4C 030310AC:1770 01 
   |      |      |      |      |   |--> connection state
   |      |      |      |      |------> remote TCP port number
   |      |      |      |-------------> remote IPv4 address
   |      |      |--------------------> local TCP port number
   |      |---------------------------> local IPv4 address
   |----------------------------------> number of entry

Uh, look at that diagram in a fixed width font viewer...

Bill
_______________________________________________
Gkrellm mailing list
[email protected]
http://lists.jutley.org/cgi-bin/mailman/listinfo/gkrellm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.