source: trunk/Monitoring/smon/smon.py @ 840

Last change on this file since 840 was 840, checked in by jripsl, 11 years ago
  • SMON project bootstrap.
File size: 727 bytes
Line 
1# -*- coding: ISO-8859-1 -*-
2
3##################################
4#  @program        smon
5#  @description    simulation monitor
6#  @copyright      Copyright “(c)2009 Centre National de la Recherche Scientifique CNRS.
7#                             All Rights Reserved”
8#  @svn_file       $Id: smon.py 2599 2013-03-24 19:01:23Z jripsl $
9#  @version        $Rev: 2599 $
10#  @lastrevision   $Date: 2013-03-24 20:01:23 +0100 (Sun, 24 Mar 2013) $
11#  @license        CeCILL (http://dods.ipsl.jussieu.fr/jripsl/smon/LICENSE)
12##################################
13
14class SMON():
15
16        @classmethod
17        def init(self):
18                self.smon_home=os.environ['SMON_HOME']
19                self.log_dir="%s/log"%self.smon_home
20                self.dbfile="%s/db/smon.db"%self.smon_home
Note: See TracBrowser for help on using the repository browser.