Module pymeterlib.Utils
Utilities used with PyMeter.
Author: Corey Goldberg
Copyright: (C) 2005 Corey Goldberg
License: GNU General Public License (GPL)
Function Summary |
|
check_lock ()
check the lock and don't allow multiple versions of PyMeter to run |
|
log (text)
write text out to the log file with a timestamp |
|
write_lock (working_dir)
create a new lock file and write the current pid into it |
check_lock()
check the lock and don't allow multiple versions of PyMeter to
run
-
|
log(text)
write text out to the log file with a timestamp
-
|
write_lock(working_dir)
create a new lock file and write the current pid into it
-
|
working_dir
-
- Type:
-
str
- Value:
|