John's Vademecum

Try to learn something about everything, and everything about something -Thomas Huxley “Darwin's bulldog” (1824-1895)

User Tools

Site Tools


public:watches:watchcheck

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:watches:watchcheck [04/05/22 10:44 BST] gm4slvpublic:watches:watchcheck [06/03/25 06:49 GMT] (current) – external edit 127.0.0.1
Line 12: Line 12:
 directory. the data from each measurement is stored in a **json** file in the same directory. directory. the data from each measurement is stored in a **json** file in the same directory.
  
 +++++ watchcheck.py |
 <file python watchcheck.py> <file python watchcheck.py>
 #! /usr/bin/env python #! /usr/bin/env python
Line 212: Line 212:
 </file> </file>
  
 +++++
  
 Running it for the first time, with no previous records stored, looks like this: Running it for the first time, with no previous records stored, looks like this:
Line 292: Line 293:
 There's also a small utility called ''watchstat.py'' that reads the ''error_list.json'' file to calculate and There's also a small utility called ''watchstat.py'' that reads the ''error_list.json'' file to calculate and
 display the data display the data
 +
 +++++ watchstat.py |
  
 <file python watchstat.py> <file python watchstat.py>
Line 399: Line 402:
 watch_stat() watch_stat()
 </file> </file>
 +
 +++++
  
 Running watchstat.py on the newly updated ''error_list.json''  Running watchstat.py on the newly updated ''error_list.json'' 
public/watches/watchcheck.1651657497.txt.gz · Last modified: 06/03/25 06:49 GMT (external edit)