SardanaDiag.py

 
#!/usr/bin/env python
'''
this script creates some files which may be useful for diagnosis

  /online_dir/Diag/PoolCore.<pid> 
  /online_dir/Diag/MacroServerCore.<pid> 

  /online_dir/Diag/MacroServer.log
  /online_dir/Diag/Pool.log
    the last 1000 lines in the log files

called by: 
  /home/kracht/Misc/Sardana/hasyutils/scripts/SardanaAIO.py
  /home/kracht/Misc/Sardana/hasyutils/scripts/SardanaRestartBoth.py
  /home/kracht/Misc/Sardana/hasyutils/scripts/SardanaRestartMacroServer.py

'''

SardanaDiag.py is invoked by SardanaAIO.py, SardanaRestartBoth.py and SardanaRestartTangoServer.py.

Only the last 10 versions are kept.



2019-11-13